Skip to content

Commit

Permalink
Release script clarifies which test fixture failed (#14922)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn authored Feb 22, 2019
1 parent f708f9e commit 33cb3f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion scripts/release/shared-commands/test-packaging-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ const run = async ({cwd}) => {
}

if (errorMessage) {
console.error(theme.error(errorMessage));
console.error(
theme.error('✗'),
'Verifying "packaging" fixture\n ',
theme.error(errorMessage)
);
process.exit(1);
}
};
Expand Down
6 changes: 5 additions & 1 deletion scripts/release/shared-commands/test-tracing-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ const run = async ({cwd}) => {
'Verifying "scheduler/tracing" fixture'
);
if (errorMessage) {
console.error(theme.error(errorMessage));
console.error(
theme.error('✗'),
'Verifying "scheduler/tracing" fixture\n ',
theme.error(errorMessage)
);
process.exit(1);
}
};
Expand Down

0 comments on commit 33cb3f0

Please sign in to comment.