Skip to content

Commit

Permalink
quit early if no notes
Browse files Browse the repository at this point in the history
  • Loading branch information
infotroph committed Feb 17, 2024
1 parent 1cb41c8 commit e9eea4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_with_errors.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if (resave) {
###

# everything beyond this point is comparing to old version
if (!file.exists(old_file)) {
if (!file.exists(old_file) || sum(n_errors, n_warns, n_notes) == 0) {
quit("no")
}

Expand Down

0 comments on commit e9eea4a

Please sign in to comment.