mirror of
https://github.com/iptv-org/iptv.git
synced 2024-06-25 23:25:55 +02:00
Update storage.ts
This commit is contained in:
parent
de7594a5cc
commit
f7fcb87d28
|
@ -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[]> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user