Skip to content

Commit 75c03d0

Browse files
committed
fix: udpates utils/parser test
1 parent 38c1ce4 commit 75c03d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@ export const root = fileURLToPath(`file://${process.cwd()}`);
1616
export const cacheMap = new Map();
1717
export const nodeImportMapPath = join(root, "node.importmap");
1818
export const cache = join(root, ".cache");
19-
const map = existsSync(nodeImportMapPath)
20-
? JSON.parse(readFileSync(nodeImportMapPath, { encoding: "utf8" }))
21-
: {};
19+
const map = existsSync(nodeImportMapPath) ? JSON.parse(readFileSync(nodeImportMapPath, { encoding: "utf8" })) : {};
2220
export const importmap = new ImportMap({ rootUrl: import.meta.url, map });

0 commit comments

Comments
 (0)