1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 15:04:42 +00:00

chore: auto format code

This commit is contained in:
Tw93
2025-12-31 02:25:09 +00:00
parent 97ed11cd42
commit aca0f66688

View File

@@ -301,7 +301,7 @@ clean_local_snapshots() {
[[ ${#snapshots[@]} -eq 0 ]] && return 0 [[ ${#snapshots[@]} -eq 0 ]] && return 0
[[ -z "$newest_name" ]] && return 0 [[ -z "$newest_name" ]] && return 0
local deletable_count=$(( ${#snapshots[@]} - 1 )) local deletable_count=$((${#snapshots[@]} - 1))
[[ $deletable_count -le 0 ]] && return 0 [[ $deletable_count -le 0 ]] && return 0
if [[ "$DRY_RUN" != "true" ]]; then if [[ "$DRY_RUN" != "true" ]]; then