Skip to content

Commit 6c5b6bb

Browse files
1.Added default value for task argument. 2.Added commented code back
1 parent 5663883 commit 6c5b6bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if (task == CREATIVE_TASK) {
9595
if (argv.mode == "test-build") {
9696
if(shell.exec("gulp testall" + " --mode=" + argv.mode + " --prebidpath=" + prebidRepoPath).code !== 0) {
9797
shell.echo('Error: test cases failed');
98-
/*shell.exit(1);*/
98+
shell.exit(1);
9999
}
100100
}
101101

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,4 @@ gulp.task('update-namespace', function(){
468468
});
469469

470470
gulp.task('build-gpt-prod',[''])
471-
gulp.task('build-bundle', [argv.task, 'bundle-keys']);
471+
gulp.task('build-bundle', [argv.task || '', 'bundle-keys']);

0 commit comments

Comments
 (0)