style: fix formatting of check-node-modules (#19720)

PR Close #19720
This commit is contained in:
Peter Bacon Darwin 2017-10-14 07:49:36 +01:00 committed by Tobias Bosch
parent b531d87580
commit ce0ac46e42

3
tools/npm/check-node-modules.js Executable file → Normal file
View File

@ -17,8 +17,7 @@ var PROJECT_ROOT = path.join(__dirname, '../../');
// tslint:disable:no-console
function checkNodeModules(logOutput, purgeIfStale) {
var yarnCheck = childProcess.spawnSync(
'yarn check --integrity',
{shell: true, cwd: path.resolve(__dirname, '../..')});
'yarn check --integrity', {shell: true, cwd: path.resolve(__dirname, '../..')});
var nodeModulesOK = yarnCheck.status === 0;
if (nodeModulesOK) {