mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-28 04:59:50 +01:00
add support for missing vfs0 dirs
This commit is contained in:
1 parent
cb2d795461
commit
0f47208f5e
1 file changed
+4
@@ -24,7 +24,11 @@ export class LocalVFS extends AbstractVFS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async dir(path: string) {
|
async dir(path: string) {
|
||||||
|
try {
|
||||||
return await readdir(`${this.base}/${path}`);
|
return await readdir(`${this.base}/${path}`);
|
||||||
|
} catch (_) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dispose() {}
|
dispose() {}
|
||||||
|
|||||||
Reference in new issue
Block a user