Skip to content

Commit 064c769

Browse files
only search for executable, but revursive
1 parent 323baea commit 064c769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/install.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ install_impl <- function() {
6262

6363
stop(
6464
"For debugging: these are files next to python executable ",
65-
list.files("C:\\Users\\RUNNER~1\\AppData\\Local\\R-MINI~1\\envs\\r-precommit", pattern = 'pre|bin|Script', include.dirs = TRUE)
65+
list.files("C:\\Users\\RUNNER~1\\AppData\\Local\\R-MINI~1\\envs\\r-precommit", pattern = 'pre-commit.exe', recursive = TRUE)
6666
)
6767
}
6868

0 commit comments

Comments
 (0)