File tree Expand file tree Collapse file tree 8 files changed +15
-7
lines changed Expand file tree Collapse file tree 8 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ function isString ( val ) {
4+ return ( typeof val === 'string' ) ;
5+ }
6+
7+ module . exports = isString ;
Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ var chalk = require('chalk');
55var log = require ( 'gulplog' ) ;
66
77var sortBy = require ( 'lodash.sortby' ) ;
8- var isString = require ( 'lodash.isstring' ) ;
98var isObject = require ( 'lodash.isplainobject' ) ;
109
10+ var isString = require ( '../is-string' ) ;
11+
1112function logTasks ( tree , depth , getTask ) {
1213 depth = ( typeof depth !== 'number' ) ? null : ( ( depth < 1 ) ? 1 : depth ) ;
1314
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ var chalk = require('chalk');
44var log = require ( 'gulplog' ) ;
55var stdout = require ( 'mute-stdout' ) ;
66var tildify = require ( 'tildify' ) ;
7- var isString = require ( 'lodash.isstring' ) ;
87
98var taskTree = require ( './taskTree' ) ;
109var logTasks = require ( '../../shared/log/tasks' ) ;
10+ var isString = require ( '../../shared/is-string' ) ;
1111var logEvents = require ( './log/events' ) ;
1212var logTasksSimple = require ( './log/tasksSimple' ) ;
1313var registerExports = require ( '../../shared/registerExports' ) ;
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ var log = require('gulplog');
66var chalk = require ( 'chalk' ) ;
77var stdout = require ( 'mute-stdout' ) ;
88var tildify = require ( 'tildify' ) ;
9- var isString = require ( 'lodash.isstring' ) ;
109
1110var exit = require ( '../../shared/exit' ) ;
11+ var isString = require ( '../../shared/is-string' ) ;
1212
1313var logTasks = require ( '../../shared/log/tasks' ) ;
1414var logEvents = require ( '../^4.0.0/log/events' ) ;
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ var log = require('gulplog');
66var chalk = require ( 'chalk' ) ;
77var stdout = require ( 'mute-stdout' ) ;
88var tildify = require ( 'tildify' ) ;
9- var isString = require ( 'lodash.isstring' ) ;
109
1110var exit = require ( '../../shared/exit' ) ;
11+ var isString = require ( '../../shared/is-string' ) ;
1212
1313var logTasks = require ( '../../shared/log/tasks' ) ;
1414var logEvents = require ( '../^4.0.0/log/events' ) ;
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ var log = require('gulplog');
66var chalk = require ( 'chalk' ) ;
77var stdout = require ( 'mute-stdout' ) ;
88var tildify = require ( 'tildify' ) ;
9- var isString = require ( 'lodash.isstring' ) ;
109
1110var exit = require ( '../../shared/exit' ) ;
11+ var isString = require ( '../../shared/is-string' ) ;
1212
1313var logTasks = require ( '../../shared/log/tasks' ) ;
1414var logEvents = require ( './log/events' ) ;
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- var isString = require ( 'lodash.isstring' ) ;
43var isObject = require ( 'lodash.isplainobject' ) ;
54var isFunction = require ( 'lodash.isfunction' ) ;
65
6+ var isString = require ( '../../../shared/is-string' ) ;
7+
78function getTask ( gulpInst ) {
89 return function ( name ) {
910 var task = gulpInst . task ( name ) ;
Original file line number Diff line number Diff line change 4141 "liftoff" : " ^2.3.0" ,
4242 "lodash.isfunction" : " ^3.0.8" ,
4343 "lodash.isplainobject" : " ^4.0.4" ,
44- "lodash.isstring" : " ^4.0.1" ,
4544 "lodash.sortby" : " ^4.5.0" ,
4645 "matchdep" : " ^1.0.0" ,
4746 "mute-stdout" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments