Skip to content

Commit

Permalink
switch order
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed Oct 9, 2023
1 parent 23d3dc7 commit 78952cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/unreachable_code_linter.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ unreachable_code_linter <- function() {
# NB: use not(OP-DOLLAR) to prevent matching process$stop(), #1051
xpath_return_stop <- glue("
(
(//FUNCTION | //OP-LAMBDA)/following-sibling::expr
| {expr_after_control}
{expr_after_control}
| (//FUNCTION | //OP-LAMBDA)/following-sibling::expr
)
/expr[expr[1][
not(OP-DOLLAR or OP-AT)
Expand Down

0 comments on commit 78952cf

Please sign in to comment.