Skip to content

Commit

Permalink
fix exit status
Browse files Browse the repository at this point in the history
  • Loading branch information
gorgitko authored Aug 31, 2024
1 parent acf2bfb commit b610036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/run_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ if (output_dir != "-") {
cli::cli_alert_success("Writing {.file {out_file}}")
}

status <- dplyr::if_else(all(c(res_summary$failed, res_summary$error == 0)), 0, 1)
status <- dplyr::if_else(all(c(res_summary$failed, res_summary$error) == 0), 0, 1)
cli::cli_alert_info("Exiting with status {.val {status}}")
quit(save = "no", status = status)

0 comments on commit b610036

Please sign in to comment.