Skip to content

Commit

Permalink
Fix code style of lib/ask.js
Browse files Browse the repository at this point in the history
  • Loading branch information
riesinger committed Mar 8, 2017
1 parent 6a1ce65 commit f66bc1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ask.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function prompt (data, key, prompt, done) {
answers[key].forEach(function (multiChoiceAnswer) {
data[key][multiChoiceAnswer] = true
})
} else if (typeof answers[key] == "string"){
} else if (typeof answers[key] === 'string') {
data[key] = answers[key].replace(/"/g, '\\"')
} else {
data[key] = answers[key]
Expand Down

0 comments on commit f66bc1f

Please sign in to comment.