Commit 6b2074a9 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Debug

parent 01d55d55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ while true; do
    fi

    if [[ "$last_commit_date" < "$ONE_YEAR_AGO" ]]; then
      ((deleted_branches++))
      deleted_branches=$((deleted_branches++))
      echo "==> OLD branch: $branch_name (last commit: $last_commit_date)" >> "$LOG_FILE"
      if [ "$DRY_RUN" = true ]; then
        echo "[DRY-RUN] Would delete: $branch_name (last commit: $last_commit_date)" >> "$LOG_FILE"