Skip to content

Commit

Permalink
Adjusting log output
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLovely committed Apr 20, 2018
1 parent c4769ca commit bbe50c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ async function init() {
'bolt-design-system',
...baseNowArgs,
], {encoding: 'utf8'});
if (aliasOutput.status !== 0) {
if (aliasOutput2.status !== 0) {
console.error('Error aliasing:');
console.log(aliasOutput.stdout, aliasOutput.stderr);
console.log(aliasOutput2.stdout, aliasOutput2.stderr);
process.exit(1);
}
console.log(aliasOutput.stdout, aliasOutput.stderr);
console.log(aliasOutput2.stdout, aliasOutput2.stderr);
}

// const aliasEndpoint = `https://api.zeit.co/v2/now/deployments/${deployedId}/aliases?${querystring.stringify({
Expand Down

0 comments on commit bbe50c4

Please sign in to comment.