Herbert Vojčík пре 8 година
родитељ
комит
69688cafdd
1 измењених фајлова са 2 додато и 3 уклоњено
  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);
         });
     });