Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/vite_global_cli/src/commands/env/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ function vp
command vp $argv; return
end
set -lx VP_ENV_USE_EVAL_ENABLE 1
set -l __vp_out (env FISH_VERSION=$FISH_VERSION command vp $argv); or return $status
set -l __vp_out (env FISH_VERSION=$FISH_VERSION __VP_BIN__/vp $argv); or return $status
eval (string join ';' $__vp_out)
else
command vp $argv
Expand Down Expand Up @@ -1015,8 +1015,8 @@ mod tests {
"env.fish should check for 'use' subcommand"
);
assert!(
fish_content.contains("command vp $argv"),
"env.fish should use 'command vp' for passthrough"
fish_content.contains("/vp $argv"),
"env.fish should use absolute path to vp for passthrough"
);
}

Expand Down