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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user