Skip to content

Commit

Permalink
fix: min-file-size defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
xc2 committed Jul 20, 2024
1 parent ae617be commit bbd89b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ runs:
fast_rmdir() {
if [[ -d "$1" ]] && [[ -n "$1" ]] && [[ ! "$1" = "/" ]] && [[ ! "$1" = "~" ]]; then
echo "Removing directory: $1"
sudo find "$1" -type f -size +${{ inputs.min-file-size }}k -delete -print | wc -l
sudo find "$1" -type f -size +${{ inputs.min-file-size || '0' }}k -delete -print | wc -l
fi
}
Expand Down

0 comments on commit bbd89b1

Please sign in to comment.