From f7fcb87d280e17d1567bea85d0caeaff6cef9c89 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sat, 16 Sep 2023 17:52:24 +0300 Subject: [PATCH] Update storage.ts --- scripts/core/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {