diff --git a/scripts/lint.js b/scripts/lint.js index f56580a828..14069483c8 100644 --- a/scripts/lint.js +++ b/scripts/lint.js @@ -177,7 +177,7 @@ export function runYamllint() { export function runPrettier() { console.log('\nRunning Prettier...'); - if (!runCommand('prettier --check .')) { + if (!runCommand('npx prettier --check .')) { console.log( 'Prettier check failed. Please run "npm run format" to fix formatting issues.', );