Skip to content

Commit

Permalink
abort -> cli_abort
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Jul 17, 2024
1 parent 7968396 commit 8c2e201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/list-transpose.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,6 @@ match_template <- function(x, template, error_arg = caller_arg(x), error_call =
rep_along(template, list(x))
}
} else {
abort("Invalid `template`", .internal = TRUE)
cli::cli_abort("Invalid `template`", .internal = TRUE)
}
}

0 comments on commit 8c2e201

Please sign in to comment.