Skip to content

Commit c6944ab

Browse files
committed
try it this way for precommit
1 parent 90717a8 commit c6944ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/parse.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ parse_safely <- function(text, ...) {
2020
error = function(e) {
2121
if (has_crlf_as_first_line_sep(e$message, text)) {
2222
msg <- c(
23-
"x" = "The code to style seems to use Windows style line endings (CRLF).",
24-
"!" = "styler currently only supports Unix style line endings (LF). ",
25-
"i" = "Please change the EOL character in your editor to Unix style
23+
x = "The code to style seems to use Windows style line endings (CRLF).",
24+
`!` = "styler currently only supports Unix style line endings (LF). ",
25+
i = "Please change the EOL character in your editor to Unix style
2626
and try again."
2727
)
2828
} else {
29-
msg <- c("x" = "Styling failed")
29+
msg <- c(x = "Styling failed")
3030
}
3131
cli::cli_abort(msg, parent = e, call = NULL)
3232
},

0 commit comments

Comments
 (0)