mirror of https://github.com/vuejs/core.git
fix(ci): use `with` instead of `assert` syntax (#12901)
This commit is contained in:
parent
efed3ebee6
commit
0c8dd94ef9
|
@ -111,7 +111,7 @@ async function renderUsages() {
|
||||||
*/
|
*/
|
||||||
async function importJSON(filePath) {
|
async function importJSON(filePath) {
|
||||||
if (!existsSync(filePath)) return undefined
|
if (!existsSync(filePath)) return undefined
|
||||||
return (await import(filePath, { assert: { type: 'json' } })).default
|
return (await import(filePath, { with: { type: 'json' } })).default
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue