Skip to content
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

Call done() on failure to prevent Grunt hanging #141

Merged
merged 2 commits into from
Aug 23, 2015
Merged

Call done() on failure to prevent Grunt hanging #141

merged 2 commits into from
Aug 23, 2015

Conversation

craig0990
Copy link

This fixes issue #140 by calling done() when the task is finished, regardless of whether it succeeded. I have not passed a boolean true in, because it doesn't seem to be required.

The output of npm test still passes. I would write a test for this, but I'm struggling to think of a way of testing it without running the entire task as a child process.

@krampstudio
Copy link
Owner

Cool I'll have a look.

@krampstudio krampstudio self-assigned this Aug 23, 2015
@krampstudio krampstudio added this to the 0.6.8 milestone Aug 23, 2015
krampstudio added a commit that referenced this pull request Aug 23, 2015
Call done() on failure to prevent Grunt hanging
@krampstudio krampstudio merged commit 86688aa into krampstudio:master Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants