Skip to content

Commit

Permalink
Merge pull request #84 from pine613/feature/lodash_v4
Browse files Browse the repository at this point in the history
Upgrade lodash from v3.x to v4.x
  • Loading branch information
SBoudrias committed Jan 22, 2016
2 parents 3177d2d + e012202 commit e9a92b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ plugin.enforceThresholds = function (opts) {
return (type.global && type.global.failed) || (type.each && type.each.failed);
};

if (_.any(results, criteria)) {
if (_.some(results, criteria)) {
this.emit('error', new PluginError({
plugin: PLUGIN_NAME,
message: 'Coverage failed'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"gulp-util": "^3.0.1",
"istanbul": "^0.4.0",
"istanbul-threshold-checker": "^0.1.0",
"lodash": "^3.0.1",
"lodash": "^4.0.0",
"through2": "^2.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit e9a92b9

Please sign in to comment.