mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update storage.ts
This commit is contained in:
parent
de7594a5cc
commit
f7fcb87d28
1 changed files with 1 additions and 1 deletions
|
@ -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[]> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue