Fix generated file checks (#1338)

No idea how this slipped by. Sorry about that.

Fixes #1334
pull/1342/head
Sean Silva 2022-09-02 12:12:42 -07:00 committed by GitHub
parent 51c868f4c0
commit 7fa31817c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -211,11 +211,9 @@ function _check_file_not_changed_by() {
# TODO: Is there a better cleanup strategy that doesn't require duplicating
# this inside and outside the `if`?
rm "$file_new"
rm "$file_backup"
return 1
fi
rm "$file_new"
rm "$file_backup"
}
function test_in_tree() {