New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate does not run #18
Comments
I understand now that validate only works with input (or strings)? While this makes sense, maybe it's worth adding that to the docs? It took me a while to figure it out (maybe others won't have this problem, but it's still an easy thing to miss). |
Yes it would be good if confirm prompt result could be checked in the task (validate for example). Or there is need to create some post action that will be called for any answer. |
Ah there is actually a post processor "then", then this may be closed. |
sounds like this can be closed. if i was wrong let me know. |
You were wrong :) The
#4 is also about this issue. |
I am also having problems with this.
The task chain always completes regardless of the answer to the prompt. Am I misunderstanding this functionality? |
In the example below the validate function does not run (I've pasted your example validation function to make sure that I'm using the correct syntax). I'm using your plugin combined with grunt-load-config (hence the module.exports). Even though any answer to the first question should return the validation error message, nothing happens.
The text was updated successfully, but these errors were encountered: