mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This is done a in bit kludgy way on purpose so that it works on Windows and CI. Works around npm/npm#8452. Closes #2038
7 lines
164 B
JavaScript
Executable file
7 lines
164 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
var checkNpm = require('./check-node-modules.js');
|
|
|
|
var purgeIfStale = (process.argv.indexOf('--purge') !== -1)
|
|
|
|
checkNpm(true, purgeIfStale);
|