Skip to content

Commit a56c309

Browse files
committed
specify utils::shortPathName
1 parent 18fe97e commit a56c309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/py_require.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,10 @@ uv_binary <- function(bootstrap_install = TRUE) {
564564

565565
if (is_windows()) {
566566

567-
withr::with_envvar(c("UV_UNMANAGED_INSTALL" = shortPathName(dirname(uv))), {
567+
withr::with_envvar(c("UV_UNMANAGED_INSTALL" = utils::shortPathName(dirname(uv))), {
568568
system2("powershell", c(
569569
"-ExecutionPolicy", "ByPass", "-c",
570-
sprintf("irm %s | iex", shortPathName(install_uv))),
570+
sprintf("irm %s | iex", utils::shortPathName(install_uv))),
571571
stdout = if (debug) "" else FALSE,
572572
stderr = if (debug) "" else FALSE
573573
)

0 commit comments

Comments
 (0)