add support for missing vfs0 dirs

This commit is contained in:
tresabhi committed 2026-07-31 11:07:54 -05:00
1 parent cb2d795461
commit 0f47208f5e
1 file changed
+5 -1
+5 -1
View File
@@ -24,7 +24,11 @@ export class LocalVFS extends AbstractVFS {
}
async dir(path: string) {
return await readdir(`${this.base}/${path}`);
try {
return await readdir(`${this.base}/${path}`);
} catch (_) {
return [];
}
}
dispose() {}