Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Mar 19, 2024
1 parent 0c197b1 commit c4f21ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/browsertime.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ async function run(urls, options) {
if (eachResult.markedAsFailure === 1) {
process.exitCode = 1;
}
for (let errors of eachResult.errors) {
if (errors.length > 0) {
process.exitCode = 1;
}
}
}
}
log.info(`Wrote data to ${resultDirectory}`);
Expand Down

0 comments on commit c4f21ae

Please sign in to comment.