File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11var fs = require ( 'fs-extra' ) ;
22var esprima = require ( 'esprima' ) ;
3- var _ = require ( 'lodash' ) ;
43var util = require ( 'util' ) ;
54var stringifyObject = require ( "stringify-object" ) ;
65
@@ -47,7 +46,7 @@ exports.ConfigFile = function(filePath) {
4746
4847 that . type = 'empty' ;
4948 if ( program . type === 'Program' ) {
50- _ . forEach ( program . body , function ( statement ) {
49+ program . body . forEach ( function ( statement ) {
5150
5251 if ( statement . expression && statement . expression . type === 'CallExpression' ) {
5352 var call = statement . expression ;
@@ -58,7 +57,7 @@ exports.ConfigFile = function(filePath) {
5857 return false ;
5958 }
6059 } else if ( statement . type === 'VariableDeclaration' ) {
61- _ . forEach ( statement . declarations , function ( declarator ) {
60+ statement . declarations . forEach ( function ( declarator ) {
6261 if ( declarator . id . name === 'require' ) {
6362 that . type = 'var' ;
6463 that . readObjectExpression ( declarator . init , callback ) ;
Original file line number Diff line number Diff line change 3030 },
3131 "dependencies" : {
3232 "esprima" : " ~1.0.4" ,
33- "lodash" : " ~2.0.0" ,
3433 "stringify-object" : " ~0.1.7" ,
3534 "fs-extra" : " ~0.6.4"
3635 }
You can’t perform that action at this time.
0 commit comments