build(gulp): don't throw exceptions on exit when angularBuilder was not initialized

This commit is contained in:
Igor Minar 2015-05-19 21:55:56 -07:00
parent d04a515eb0
commit e89bf01c2b
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ var angularBuilder = {
rebuildBrowserProdTree: throwToolsBuildMissingError,
rebuildNodeTree: throwToolsBuildMissingError,
rebuildDartTree: throwToolsBuildMissingError,
cleanup: function() {}
cleanup: function() {
return Promise.resolve();
}
};
(function checkNodeAndNpmVersions() {