Browse Source

Fix #1138. Hopefully.

Herbert Vojčík 8 years ago
parent
commit
69688cafdd
1 changed files with 2 additions and 3 deletions
  1. 2 3
      external/amber-dev/tasks/grunt-amberc.js

+ 2 - 3
external/amber-dev/tasks/grunt-amberc.js

@@ -60,9 +60,8 @@ module.exports = function (grunt) {
 
         // run the compiler and call the async callback once finished
         var self = this;
-        compiler.main(configuration, function () {
-            // signal that task has finished
-            done();
+        compiler.main(configuration, function (err) {
+            done(err || true);
         });
     });