Skip to content

Commit 5c72916

Browse files
committed
workflow/remove-unused-patches: prefix increment to avoid error code
1 parent 4263909 commit 5c72916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/remove-unused-patches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
while IFS= read -r patch_file; do
9494
if ! grep -Fxq "$patch_file" "$referenced_patches"; then
9595
echo "$patch_file" >> "$unused_patches"
96-
((unused_count++))
96+
((++unused_count))
9797
fi
9898
done < "$all_patches"
9999

0 commit comments

Comments
 (0)