From 8bb009cd06dd970b0bf22febff642e62078deb94 Mon Sep 17 00:00:00 2001 From: Craig Roberts Date: Thu, 16 Jul 2015 10:26:14 +0800 Subject: [PATCH] Call done() even on failure - fixes #140 --- tasks/jsdoc-plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/jsdoc-plugin.js b/tasks/jsdoc-plugin.js index 68e6a2e..34b998b 100644 --- a/tasks/jsdoc-plugin.js +++ b/tasks/jsdoc-plugin.js @@ -115,6 +115,7 @@ module.exports = function jsDocTask(grunt) { done(true); } else { grunt.fail.warn('jsdoc terminated with a non-zero exit code', errorCode.task); + done(); } }); });