Skip to content

Commit 025ddb1

Browse files
more debug
1 parent 1132e6e commit 025ddb1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/exec.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,15 @@ path_derive_precommit_exec_conda_impl <- function(conda_env) {
207207
{
208208
ls <- reticulate::conda_list()
209209
path_reticulate <- fs::path_dir(ls[ls$name == conda_env, "python"][1])
210+
cat("path_reticulate:", path_reticulate)
210211
derived <- fs::path(
211212
# if windows, remove bin/ and use just base directory
212213
ifelse(is_windows(), fs::path_dir(path_reticulate), path_reticulate),
213214
# if windows, append Scripts/
214215
ifelse(is_windows(), "Scripts", ""),
215216
precommit_executable_file()
216217
)
218+
cat("derived", derived)
217219
unname(ifelse(file_exists(derived), derived, ""))
218220
},
219221
error = function(e) ""

0 commit comments

Comments
 (0)