diff --git a/scripts/check-mismatched-dependencies.js b/scripts/check-mismatched-dependencies.js index 6b0a6ec49df..0d8d39205c3 100644 --- a/scripts/check-mismatched-dependencies.js +++ b/scripts/check-mismatched-dependencies.js @@ -2,7 +2,7 @@ const { spawnSync } = require('child_process'); console.log(`running 'yarn workspaces info' to check for mismatched dependencies`); -const s = spawnSync('yarn', ['workspaces', 'info', '--silent'], { +const s = spawnSync('yarn', ['--silent', 'workspaces', 'info'], { stdio: ['ignore', 'pipe', 'inherit'] }); if (s.status !== 0) {