Skip to content

Commit 35a84a6

Browse files
committed
Really fix it
1 parent 6a0e788 commit 35a84a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/history/scripts/generateFull.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const dates = Array.from(
4848
let datesModified = false;
4949
let fullModified = false;
5050
const npmHighImpactVersion = JSON.parse(
51-
await readFile(path.resolve(path.dirname(import.meta.resolve("npm-high-impact")), "./package.json"), "utf8"),
51+
await readFile(new URL("package.json", import.meta.resolve("npm-high-impact")), "utf8"),
5252
).version;
5353
const outJsonFileName = new URL("../data/out.json", import.meta.url);
5454
try {

0 commit comments

Comments
 (0)