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 1132e6e commit 025ddb1Copy full SHA for 025ddb1
R/exec.R
@@ -207,13 +207,15 @@ path_derive_precommit_exec_conda_impl <- function(conda_env) {
207
{
208
ls <- reticulate::conda_list()
209
path_reticulate <- fs::path_dir(ls[ls$name == conda_env, "python"][1])
210
+ cat("path_reticulate:", path_reticulate)
211
derived <- fs::path(
212
# if windows, remove bin/ and use just base directory
213
ifelse(is_windows(), fs::path_dir(path_reticulate), path_reticulate),
214
# if windows, append Scripts/
215
ifelse(is_windows(), "Scripts", ""),
216
precommit_executable_file()
217
)
218
+ cat("derived", derived)
219
unname(ifelse(file_exists(derived), derived, ""))
220
},
221
error = function(e) ""
0 commit comments