Skip to content

Commit ea6b316

Browse files
committed
build(gulp): rename angularBuilder.mock to angularBuilder.uninitialized to prevent confusion with testing mocks
Closes angular#4936
1 parent ef70508 commit ea6b316

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ var angularBuilder = {
7373
rebuildBrowserProdTree: throwToolsBuildMissingError,
7474
rebuildNodeTree: throwToolsBuildMissingError,
7575
rebuildDartTree: throwToolsBuildMissingError,
76-
mock: true
76+
uninitialized: true
7777
};
7878

7979

@@ -1291,7 +1291,7 @@ gulp.task('benchpress.bundle', ['build/clean.benchpress.bundle', 'build.js.cjs']
12911291

12921292
// register cleanup listener for ctrl+c/kill used to quit any persistent task (autotest or serve tasks)
12931293
process.on('SIGINT', function() {
1294-
if (!angularBuilder.mock) {
1294+
if (!angularBuilder.uninitialized) {
12951295
runSequence('cleanup.builder', function () {
12961296
process.exit();
12971297
});
@@ -1309,7 +1309,7 @@ process.on('beforeExit', function() {
13091309

13101310
beforeExitRan = true;
13111311

1312-
if (!angularBuilder.mock) {
1312+
if (!angularBuilder.uninitialized) {
13131313
gulp.start('cleanup.builder');
13141314
}
13151315
});

0 commit comments

Comments
 (0)