build(gulp): rename angularBuilder.mock to angularBuilder.uninitialized to prevent confusion with testing mocks

Closes #4936
This commit is contained in:
Igor Minar 2015-10-27 12:26:36 +01:00
parent ef7050892e
commit ea6b316932
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ var angularBuilder = {
rebuildBrowserProdTree: throwToolsBuildMissingError, rebuildBrowserProdTree: throwToolsBuildMissingError,
rebuildNodeTree: throwToolsBuildMissingError, rebuildNodeTree: throwToolsBuildMissingError,
rebuildDartTree: throwToolsBuildMissingError, rebuildDartTree: throwToolsBuildMissingError,
mock: true uninitialized: true
}; };
@ -1291,7 +1291,7 @@ gulp.task('benchpress.bundle', ['build/clean.benchpress.bundle', 'build.js.cjs']
// register cleanup listener for ctrl+c/kill used to quit any persistent task (autotest or serve tasks) // register cleanup listener for ctrl+c/kill used to quit any persistent task (autotest or serve tasks)
process.on('SIGINT', function() { process.on('SIGINT', function() {
if (!angularBuilder.mock) { if (!angularBuilder.uninitialized) {
runSequence('cleanup.builder', function () { runSequence('cleanup.builder', function () {
process.exit(); process.exit();
}); });
@ -1309,7 +1309,7 @@ process.on('beforeExit', function() {
beforeExitRan = true; beforeExitRan = true;
if (!angularBuilder.mock) { if (!angularBuilder.uninitialized) {
gulp.start('cleanup.builder'); gulp.start('cleanup.builder');
} }
}); });