Skip to content

Commit

Permalink
correct typo in cli messages
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhsparks committed Nov 5, 2024
1 parent d643c8d commit f28bed5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/internal_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@
delay <- .initial_delay * 2 ^ (attempt - 1)
cli::cli_alert(
"Download failed on attempt {.code attempt}.
Retrying in {var delay} seconds..."
Retrying in {.var delay} seconds..."
)
Sys.sleep(delay)
attempt <- attempt + 1
} else {
cli::cli_abort(
"Download failed after {var max_attempts} attempts.")
"Download failed after {.var max_attempts} attempts.")
stop(e)
}
})
Expand Down

0 comments on commit f28bed5

Please sign in to comment.