From f91d4a4cf695a4eb6d9428c77686e89e062538ba Mon Sep 17 00:00:00 2001 From: "alex.hill@gmail.com" Date: Thu, 24 Oct 2024 13:59:06 +0100 Subject: [PATCH] lint --- R/router.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/R/router.R b/R/router.R index 01c813a..0c164a7 100644 --- a/R/router.R +++ b/R/router.R @@ -81,7 +81,8 @@ prune_inactive_sessions <- function(cache) { old_sessions <- setdiff(subdirectories, active_sessions) if (length(old_sessions) > 0) { logger::log_info("Cleaning up expired sessions") - lapply(old_sessions, function(x) unlink(file.path("uploads", x), - recursive = TRUE)) + lapply(old_sessions, function(x) { + unlink(file.path("uploads", x), recursive = TRUE) + }) } }