Skip to content

Commit f66bc1f

Browse files
committed
Fix code style of lib/ask.js
1 parent 6a1ce65 commit f66bc1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ask.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function prompt (data, key, prompt, done) {
5757
answers[key].forEach(function (multiChoiceAnswer) {
5858
data[key][multiChoiceAnswer] = true
5959
})
60-
} else if (typeof answers[key] == "string"){
60+
} else if (typeof answers[key] === 'string') {
6161
data[key] = answers[key].replace(/"/g, '\\"')
6262
} else {
6363
data[key] = answers[key]

0 commit comments

Comments
 (0)