chore: Update server dependencies
This commit is contained in:
@@ -22,7 +22,7 @@ class LocalFileManager {
|
||||
const dirPath = buildPath(dir);
|
||||
const filePath = path.join(dirPath, base);
|
||||
|
||||
await fs.promises.mkdir(dirPath);
|
||||
await fs.promises.mkdir(dirPath, { recursive: true });
|
||||
await fse.move(sourceFilePath, filePath);
|
||||
|
||||
return filePath;
|
||||
|
||||
Reference in New Issue
Block a user