Skip to content

Commit

Permalink
slightly improve readability of XPath
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Aug 6, 2024
1 parent 4223eea commit 7620e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/brace_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ brace_linter <- function(allow_single_line = FALSE,
)

xp_function_brace <- glue(
"(//FUNCTION | //OP-LAMBDA)/parent::expr[{xp_cond_function_brace} and not(expr[OP-LEFT-BRACE])]"
"(//FUNCTION | //OP-LAMBDA)/parent::expr[{xp_cond_function_brace} and not(expr/OP-LEFT-BRACE)]"
)

msg_function_brace <- switch(
Expand Down

0 comments on commit 7620e37

Please sign in to comment.