mirror of
https://github.com/iptv-org/iptv
synced 2025-12-18 11:27:34 -05:00
Update storage.ts
This commit is contained in:
@@ -7,7 +7,7 @@ export class Storage {
|
|||||||
rootDir: string
|
rootDir: string
|
||||||
|
|
||||||
constructor(rootDir?: string) {
|
constructor(rootDir?: string) {
|
||||||
this.rootDir = rootDir || './'
|
this.rootDir = path.normalize(rootDir || './')
|
||||||
}
|
}
|
||||||
|
|
||||||
list(pattern: string): Promise<string[]> {
|
list(pattern: string): Promise<string[]> {
|
||||||
|
|||||||
Reference in New Issue
Block a user