Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zxl629 committed Jan 15, 2025
1 parent 6ccc577 commit 9b10d86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ const startSampleAndRun = async () => {
.then((results) => {
const statusCode = parseInt(results[1].command.stdout.trim(), 10);
if (statusCode === 200) {
process.exit(0);
console.log('Success: Status code 200 received');
process.exit(0);
} else {
process.exit(1);
console.log('Failure: Unexpected status code ${statusCode}');
process.exit(1);
}
})
.catch((exitInfos) => {
Expand Down

0 comments on commit 9b10d86

Please sign in to comment.