Skip to content

Commit 86daefa

Browse files
pre-commit
1 parent 2530f99 commit 86daefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/rules-line-breaks.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ remove_empty_lines_after_opening_and_before_closing_braces <- function(pd) {
455455
#' @keywords internal
456456
reduce_extra_blank_lines_between_scopes <- function(pd_flat, allowed_blank_lines = 2L) {
457457
# Calculate the maximum allowed lag_newlines
458-
max_lag_newlines <- allowed_blank_lines + 1L # +1 accounts for the line with the previous token
458+
max_lag_newlines <- allowed_blank_lines + 1L # +1 accounts for the line with the previous token
459459

460460
# Identify positions where lag_newlines exceed the maximum allowed
461461
idx <- which(pd_flat$lag_newlines > max_lag_newlines)

0 commit comments

Comments
 (0)