Browse Source

devkit: pass error from amdconfig grunt task

Herbert Vojčík 8 years ago
parent
commit
04210e52f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      external/amber-dev/tasks/grunt-amdconfig.js

+ 1 - 1
external/amber-dev/tasks/grunt-amdconfig.js

@@ -28,7 +28,7 @@ module.exports = function (grunt) {
         }
 
         require('..').configBuilder.writeConfig(options.root_dir, this.files[0].dest, function (err) {
-            done(!err);
+            done(err || true);
         })
     });
 };