Skip to content

Commit 00a56b2

Browse files
committed
Fixes import assertion in newer node
1 parent 7be78c5 commit 00a56b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/applyPreReleasePatch.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable @typescript-eslint/no-var-requires */
22
import fs from 'fs';
3-
import pkg from '../package.json' assert { type: 'json' };
3+
import pkg from '../package.json' with { type: 'json' };
44

55
// Patch README
66
const insert = fs.readFileSync('./README.pre.md', { encoding: 'utf8' });

0 commit comments

Comments
 (0)