Update storage.ts

This commit is contained in:
freearhey 2023-09-16 17:52:24 +03:00
parent de7594a5cc
commit f7fcb87d28

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[]> {