fix: use map's ahs

This commit is contained in:
TrèsAbhi committed 2025-11-29 15:22:13 -06:00
1 parent 9ffc040723
commit 8c1bf450a8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ export abstract class AbstractVFS {
assert(path: string) {
const resolved = this.resolve(path);
if (!resolved) throw new Error(`File not found: ${path}`);
if (resolved === null) throw new Error(`File not found: ${path}`);
return resolved;
}
+1 -1
View File
@@ -22,7 +22,7 @@ export class ZipVFS extends AbstractVFS {
}
has(path: string) {
return path in this.entries;
return this.entries.has(path);
}
async raw(path: string) {