You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was using grunt-release with a beforeBump task to run the tests of my project before a release, but when these tasks error, the deferred.reject doesn't get caught or exit correctly, so regardless of the grunt status, the release continues.
Hi, I was using
grunt-release
with abeforeBump
task to run the tests of my project before a release, but when these tasks error, thedeferred.reject
doesn't get caught or exit correctly, so regardless of the grunt status, the release continues.Here's an example of the
gruntfile.js
So when I run
It runs the tests, but if they fail, it just continues with the release.
Is there a reason why we don't just call
grunt.fail.warn
here? Because this will exit the task immediately...The text was updated successfully, but these errors were encountered: