We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae85031 commit 2187cedCopy full SHA for 2187ced
R/utils.R
@@ -24,7 +24,7 @@ path_if_exist <- function(...) {
24
25
is_conda_installation <- function() {
26
grepl(
27
- "conda3?/envs/r-precommit/(bin|Scripts)/pre-commit(\\.exe)?",
+ "(r-miniconda-.*|conda3?)/envs/r-precommit/(bin|Scripts)/pre-commit(\\.exe)?",
28
getOption("precommit.executable")
29
)
30
}
0 commit comments