File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -207,15 +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 )
210+ cat(" path_reticulate:" , path_reticulate , " \n " )
211211 derived <- fs :: path(
212- # if windows, remove bin/ and use just base directory
213- ifelse(is_windows(), fs :: path_dir( path_reticulate ), path_reticulate ) ,
212+ # if windows, this is r-precommit, otherwise, it's r-precommit/env and use just base directory
213+ path_reticulate ,
214214 # if windows, append Scripts/
215215 ifelse(is_windows(), " Scripts" , " " ),
216216 precommit_executable_file()
217217 )
218- cat(" derived" , derived )
218+ cat(" derived: " , derived , " \n " )
219219 unname(ifelse(file_exists(derived ), derived , " " ))
220220 },
221221 error = function (e ) " "
You can’t perform that action at this time.
0 commit comments