From 4e7d97f4b5ec5e88989aee9765878d3dde8c598f Mon Sep 17 00:00:00 2001 From: Lorenz Walthert Date: Sun, 24 Jan 2021 01:37:13 +0100 Subject: [PATCH] get rid of condition that always hold --- R/style-guides.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/R/style-guides.R b/R/style-guides.R index 2d4d23f16..f0c9c53fa 100644 --- a/R/style-guides.R +++ b/R/style-guides.R @@ -82,8 +82,7 @@ tidyverse_style <- function(scope = "tokens", indent_without_paren = partial(indent_without_paren, indent_by = indent_by ), - update_indention_ref_fun_dec = - if ("indention" %in% scope) update_indention_ref_fun_dec + update_indention_ref_fun_dec = update_indention_ref_fun_dec ) } space_manipulators <- if ("spaces" %in% scope) {