Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Oct 24, 2024
1 parent 537b9c0 commit f91d4a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/router.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}
}

0 comments on commit f91d4a4

Please sign in to comment.