Skip to content

Commit

Permalink
Merge pull request dthree#195 from marcos-abreu/prompt-validate
Browse files Browse the repository at this point in the history
fix issue where inquirer validate errors don't show
  • Loading branch information
dthree authored Apr 9, 2017
2 parents 1e3eaa7 + 58a4b97 commit 1efd871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class UI extends EventEmitter {
const render = inquirer.prompt.prompts[promptType].prototype.render;
inquirer.prompt.prompts[promptType].prototype.render = function () {
self._activePrompt = this;
return render.call(this);
return render.apply(this, arguments);
};
}

Expand Down

0 comments on commit 1efd871

Please sign in to comment.