
committed by
Tobias Bosch

parent
b531d87580
commit
ce0ac46e42
3
tools/npm/check-node-modules.js
Executable file → Normal file
3
tools/npm/check-node-modules.js
Executable file → Normal file
@ -17,8 +17,7 @@ var PROJECT_ROOT = path.join(__dirname, '../../');
|
|||||||
// tslint:disable:no-console
|
// tslint:disable:no-console
|
||||||
function checkNodeModules(logOutput, purgeIfStale) {
|
function checkNodeModules(logOutput, purgeIfStale) {
|
||||||
var yarnCheck = childProcess.spawnSync(
|
var yarnCheck = childProcess.spawnSync(
|
||||||
'yarn check --integrity',
|
'yarn check --integrity', {shell: true, cwd: path.resolve(__dirname, '../..')});
|
||||||
{shell: true, cwd: path.resolve(__dirname, '../..')});
|
|
||||||
|
|
||||||
var nodeModulesOK = yarnCheck.status === 0;
|
var nodeModulesOK = yarnCheck.status === 0;
|
||||||
if (nodeModulesOK) {
|
if (nodeModulesOK) {
|
||||||
|
Reference in New Issue
Block a user