Fix for cli with new node scripts

This commit is contained in:
Benn Mapes
2013-08-27 11:41:54 -07:00
parent 1bd4900981
commit b1d8788506
3 changed files with 33 additions and 17 deletions
-7
View File
@@ -18,13 +18,6 @@
specific language governing permissions and limitations
under the License.
*/
try {
require.resolve("shelljs");
} catch(e) {
console.error('Shelljs module was not found, please run \'npm install\' from the bin folder.');
process.exit(e.code);
}
var shell = require('shelljs'),
path = require('path'),
fs = require('fs'),