From a06017ffff2ad5143213cae1c1d085f9c1851c56 Mon Sep 17 00:00:00 2001 From: Malte Londschien Date: Mon, 4 Mar 2024 13:59:15 +0100 Subject: [PATCH] Re-add empty line. --- R/utils-file.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/utils-file.R b/R/utils-file.R index d7f95625..18c49cba 100644 --- a/R/utils-file.R +++ b/R/utils-file.R @@ -265,6 +265,7 @@ config_paths <- function() c(user_config_path(), default_config_path()) get_config <- function(name, cfg_dirs = config_paths(), combine_fun = c, ...) { read_if_exists <- function(x, ...) { + if (isTRUE(file.exists(x))) { read_json(x, ...) } else {