Skip to content

Commit 0328055

Browse files
author
Ryan Patrick Kyle
committed
use modtimeFromPath recursively
1 parent 35ec809 commit 0328055

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

R/dash.R

+1-5
Original file line numberDiff line numberDiff line change
@@ -614,11 +614,7 @@ Dash <- R6::R6Class(
614614
# this calls getAppPath, which will try three approaches to
615615
# identifying the local app path (depending on whether the app
616616
# is invoked via script, source(), or executed directly from console)
617-
private$app_root_modtime <- as.integer(
618-
max(
619-
file.info(
620-
list.files(getAppPath(),
621-
recursive=TRUE))$mtime))
617+
private$app_root_modtime <- modtimeFromPath(getAppPath(), recursive = TRUE)
622618

623619
if (is.null(dev_tools_ui) && debug || isTRUE(dev_tools_ui)) {
624620
self$config$ui <- TRUE

0 commit comments

Comments
 (0)