Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Commit 8630c7e

Browse files
committed
Merge branch 'lodash-fix' into dependency-update
2 parents b9bc118 + eb5a349 commit 8630c7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/util/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function prompt(prompt, defaultValue, cb) {
136136

137137
function validate(app) {
138138
var commands = app.commands.map(function(command) { return command._name; });
139-
if (!_.contains(commands, app.rawArgs[2])) {
139+
if (!_.includes(commands, app.rawArgs[2])) {
140140
if (app.rawArgs[2]) {
141141
console.log();
142142
console.log('error: invalid command: ' + app.rawArgs[2]);

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
"swagger": "bin/swagger.js",
5555
"swagger-project": "bin/swagger-project.js"
5656
}
57-
}
57+
}

0 commit comments

Comments
 (0)