Skip to content

Commit

Permalink
Use 'true' in XPath for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Mar 13, 2024
1 parent 229993a commit 5eaae61
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 @@ -135,7 +135,7 @@ brace_linter <- function(allow_single_line = FALSE,
if (function_braces != "never") {
xp_cond_function_brace <- switch(
function_braces,
always = "1",
always = "true",
multi_line = "@line1 != @line2",
not_inline = "@line1 != expr/@line1"
)
Expand Down

0 comments on commit 5eaae61

Please sign in to comment.