chore(scripts): fix checkSchema command

master
Ika 2018-07-29 15:04:33 +08:00
parent 86614bd16d
commit f0f45a2621
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const EDIT_URL = `https://github.com/${SCHEMA_REPO}/edit/master/${SCHEMA_PATH}`;
// Any optional or manual step can be warned in this script.
async function checkSchema() {
const schema = await execa.stdout("node scripts/generate-schema.js");
const schema = await execa.stdout("node", ["scripts/generate-schema.js"]);
const remoteSchema = await logPromise(
"Checking current schema in SchemaStore",
fetch(RAW_URL)