Skip to content

Commit 15592c5

Browse files
Make temporary file cleanup consistent with -f flag
Co-authored-by: functionstackx <47992694+functionstackx@users.noreply.github.com>
1 parent 6bd0be3 commit 15592c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-line-counter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
fi
5151
echo "base_line_count=$BASE_LINE_COUNT" >> $GITHUB_OUTPUT
5252
echo "base_file_exists=true" >> $GITHUB_OUTPUT
53-
rm "$BASE_FILE_TMP"
53+
rm -f "$BASE_FILE_TMP"
5454
5555
# Calculate line difference
5656
LINE_DIFF=$((LINE_COUNT - BASE_LINE_COUNT))

0 commit comments

Comments
 (0)