Skip to content

Commit

Permalink
Fix cli message for aoc_input_path
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaKaye committed Jan 3, 2024
1 parent 51af6aa commit 974fad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ aoc_input_path <- function(day, year = NULL, file = "input", check = TRUE) {

if (check) {
if (!file.exists(path)) {
cli::cli_abort("No file called {file} found for Day {day} of {year}.")
cli::cli_abort("No file {.file {file}} found for Day {day} of {year}.")
}
}
path
Expand Down

0 comments on commit 974fad9

Please sign in to comment.