diff --git a/scripts/lint.js b/scripts/lint.js index 208216ca72..c6904cf7da 100644 --- a/scripts/lint.js +++ b/scripts/lint.js @@ -170,7 +170,7 @@ export function runYamllint() { export function runPrettier() { console.log('\nRunning Prettier...'); - if (!runCommand('prettier --write .')) { + if (!runCommand('prettier --check .')) { process.exit(1); } }