Skip to content

Commit

Permalink
Fix the check to print a failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado committed Oct 28, 2024
1 parent cf8d3ac commit 4962f94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const runAllTests: NewTaskActionFunction<TestActionArguments> = async (
console.log();
}

if (process.exitCode !== 0) {
if (process.exitCode !== undefined && process.exitCode !== 0) {
console.error("Test run failed");
}
};
Expand Down

0 comments on commit 4962f94

Please sign in to comment.