From e89bf01c2bdfd40bff190069d041145118a82aad Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 19 May 2015 21:55:56 -0700 Subject: [PATCH] build(gulp): don't throw exceptions on exit when angularBuilder was not initialized --- gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 0dade96de3..6577eee0f1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -47,7 +47,9 @@ var angularBuilder = { rebuildBrowserProdTree: throwToolsBuildMissingError, rebuildNodeTree: throwToolsBuildMissingError, rebuildDartTree: throwToolsBuildMissingError, - cleanup: function() {} + cleanup: function() { + return Promise.resolve(); + } }; (function checkNodeAndNpmVersions() {