Skip to content

Commit

Permalink
Merge pull request #147 from carrot/greenkeeper-update-all
Browse files Browse the repository at this point in the history
Update lodash dependency
  • Loading branch information
kylemac committed Mar 18, 2016
2 parents 232d337 + ecedd0a commit 77052e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class Template {
var branches
if (stdout) {
branches = _.compact(stdout.replace(/[\*]?\ +/g, '').split('\n'))
if (_.contains(branches, options.branch)) {
if (_.includes(branches, options.branch)) {
this.emitter.emit('cmd', `git checkout ${options.branch}`, this.path)
return exec(`git checkout ${options.branch}`, { cwd: this.path })
}
Expand All @@ -175,7 +175,7 @@ class Template {
var tags
if (stdout) {
tags = _.compact(stdout.split('\n'))
if (_.contains(tags, options.tag)) {
if (_.includes(tags, options.tag)) {
return exec(`git checkout tags/${options.tag}`, { cwd: this.path })
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ejs": "^2.3.1",
"isbinaryfile": "^3.0.0",
"js-yaml": "^3.4.5",
"lodash": "^3.9.3",
"lodash": "^4.6.1",
"minimatch": "^3.0.0",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
Expand Down

0 comments on commit 77052e9

Please sign in to comment.