CB-14145 remove old node_modules before patch fix

This commit is contained in:
Christopher J. Brody
2018-07-04 05:40:01 -04:00
parent efb387b6ee
commit 94ea252259
768 changed files with 0 additions and 94028 deletions
-19
View File
@@ -1,19 +0,0 @@
var fs = require('fs');
var common = require('./common');
//@
//@ ### cd('dir')
//@ Changes to directory `dir` for the duration of the script
function _cd(options, dir) {
if (!dir)
common.error('directory not specified');
if (!fs.existsSync(dir))
common.error('no such file or directory: ' + dir);
if (!fs.statSync(dir).isDirectory())
common.error('not a directory: ' + dir);
process.chdir(dir);
}
module.exports = _cd;