diff --git a/scripts/core/storage.ts b/scripts/core/storage.ts index e1831a6254..128ae3ba4f 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 {