Explorar o código

devkit: pass error from amdconfig grunt task

Herbert Vojčík %!s(int64=8) %!d(string=hai) anos
pai
achega
04210e52f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
         })
     });
 };