Skip to content

Commit 485d728

Browse files
committed
fix: fixes no .cache folder bug 🐛
1 parent 5346598 commit 485d728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const root = fileURLToPath(`file://${wd}`);
2020
export const cacheMap = new Map();
2121
export const nodeImportMapPath = join(root, "node.importmap");
2222
export const cache = join(root, ".cache");
23-
const hasCacheFoler = existsSync(cache)
23+
const hasCacheFoler = existsSync(cache);
2424
if (!hasCacheFoler) mkdirSync(cache);
2525
const map = existsSync(nodeImportMapPath) ? JSON.parse(readFileSync(nodeImportMapPath, { encoding: "utf8" })) : {};
2626
export const importmap = new ImportMap({ rootUrl: import.meta.url, map });

0 commit comments

Comments
 (0)