Update storage.ts

This commit is contained in:
freearhey
2023-09-16 17:52:24 +03:00
parent d89461e3f0
commit 9692995c75

View File

@@ -7,7 +7,7 @@ export class Storage {
rootDir: string
constructor(rootDir?: string) {
this.rootDir = rootDir || './'
this.rootDir = path.normalize(rootDir || './')
}
list(pattern: string): Promise<string[]> {