Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Nov 9, 2018
1 parent e83765c commit e37011a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/prompt.js
Expand Up @@ -62,8 +62,8 @@ module.exports = async (shouldPrompt, subject, promptName, task) => {
prompt.executeTaskIf !== undefined
? prompt.executeTaskIf === answers[promptName]
: prompt.type === 'confirm'
? answers[promptName]
: true;
? answers[promptName]
: true;

return doExecute ? await task(answers[promptName]) : noop;
};

0 comments on commit e37011a

Please sign in to comment.