Skip to content

Commit 0c8dd94

Browse files
authored
fix(ci): use with instead of assert syntax (vuejs#12901)
1 parent efed3eb commit 0c8dd94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/size-report.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async function renderUsages() {
111111
*/
112112
async function importJSON(filePath) {
113113
if (!existsSync(filePath)) return undefined
114-
return (await import(filePath, { assert: { type: 'json' } })).default
114+
return (await import(filePath, { with: { type: 'json' } })).default
115115
}
116116

117117
/**

0 commit comments

Comments
 (0)