diff --git a/src/storage/FileSystem.ts b/src/storage/FileSystem.ts index e89da96..83a86f5 100644 --- a/src/storage/FileSystem.ts +++ b/src/storage/FileSystem.ts @@ -39,8 +39,11 @@ export default class FileSystem implements StorageBase { } /** @override */ - async rm(path: string): Promise { - await fs.promises.rm(path, { force: true, recursive: true }); + async rm(dir: string): Promise { + await fs.promises.rm(path.join(config.FOLDER, dir), { + force: true, + recursive: true, + }); } /** @override */