diff --git a/scripts/core/storage.ts b/scripts/core/storage.ts index e1831a625..128ae3ba4 100644 --- a/scripts/core/storage.ts +++ b/scripts/core/storage.ts @@ -7,7 +7,7 @@ export class Storage { rootDir: string constructor(rootDir?: string) { - this.rootDir = rootDir || './' + this.rootDir = path.normalize(rootDir || './') } list(pattern: string): Promise {