Skip to content

Commit

Permalink
fix(ci): upload script breaks on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Mar 22, 2017
1 parent 6a29866 commit de61d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/build/ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ for (let index of browsers.saucelabsAliases.ALL) {
['sauce:open', 'test:client -- --browsers=' + index, 'sauce:close'];
}

let exit_status = 0;
if (validMode(process.env.CI_MODE)) {
execute(modes[process.env.CI_MODE]);
} else {
Expand Down Expand Up @@ -108,7 +109,6 @@ function getMode(index) {

/* execute */

let exit_status = 0;
function execute(scripts) {
console.log('\nStarting \'' + process.env.CI_MODE + '\'..');
spawn_processes(scripts);
Expand Down

0 comments on commit de61d90

Please sign in to comment.