chore: add posix to fix file not found errors
This commit is contained in:
parent
b64913a8f3
commit
b48b08a274
@ -128,7 +128,7 @@ export class FileManager {
|
||||
// Copy all files from the project to the container
|
||||
const promises = this.fileData.map(async (file) => {
|
||||
try {
|
||||
const filePath = path.join(this.dirName, file.id)
|
||||
const filePath = path.posix.join(this.dirName, file.id)
|
||||
const parentDirectory = path.dirname(filePath)
|
||||
if (!this.sandbox.files.exists(parentDirectory)) {
|
||||
await this.sandbox.files.makeDir(parentDirectory)
|
||||
|
Loading…
x
Reference in New Issue
Block a user