Skip to content

Commit 2f97c51

Browse files
committed
Merge branch 'main' of https://github.com/mpadge/precommit
2 parents 5623e89 + 103c905 commit 2f97c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/setup.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ ensure_renv_precommit_compat <- function(package_version_renv = utils::packageVe
180180
withr::local_dir(root)
181181
path_config <- ".pre-commit-config.yaml"
182182
if (!file_exists(path_config)) {
183-
return()
183+
return()
184184
}
185185
config_lines <- readLines(path_config, encoding = "UTF-8")
186186
has_renv <- fs::file_exists("renv.lock")

0 commit comments

Comments
 (0)