Skip to content

Commit f58780f

Browse files
committedJan 22, 2019
Update code with latest lodash
1 parent 1dad0c1 commit f58780f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var workflow = {
6666
}
6767
},
6868
configure: function(options) {
69-
_.extend(settings, options);
69+
_.assignIn(settings, options);
7070
},
7171

7272
hasLogLevel: function(level) {
@@ -306,6 +306,6 @@ var workflow = {
306306
}
307307

308308

309-
_.extend(wfLoader, workflow);
309+
_.assignIn(wfLoader, workflow);
310310

311311
module.exports = wfLoader;

‎tasks/readJson.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function(definition) {
77
var jsonPath = context.get(definition.path)
88
jsonPath = path.resolve(jsonPath)
99
var content = require(jsonPath)
10-
content = _.extend({}, content)
10+
content = _.assignIn({}, content)
1111
done(null, content)
1212
}
1313
}

0 commit comments

Comments
 (0)
Please sign in to comment.