Skip to content

Commit 9bc520a

Browse files
committed
refactor: reuse vite_powershell::is_stdin_terminal in vite_command
vite_command::ps1_shim and vite_task_plan::ps1_shim each had their own copy of the cached stdin-TTY gate. vite-task now hosts it once in the shared vite_powershell crate, so drop the local copy here and call the shared function. Bumps the vite-task rev to 0068d09b.
1 parent 9ce4faa commit 9bc520a

3 files changed

Lines changed: 50 additions & 58 deletions

File tree

Cargo.lock

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ dunce = "1.0.5"
192192
fast-glob = "1.0.0"
193193
flate2 = { version = "=1.1.9", features = ["zlib-rs"] }
194194
form_urlencoded = "1.2.1"
195-
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0c5c6236c9ae3b16c7fd02574d3f87537a938eee" }
195+
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0068d09b24f8f1c27eb1aee3901058c784942ce4" }
196196
futures = "0.3.31"
197197
futures-util = "0.3.31"
198198
glob = "0.3.2"
@@ -304,11 +304,11 @@ vite_pm_cli = { path = "crates/vite_pm_cli" }
304304
vite_setup = { path = "crates/vite_setup" }
305305
vite_shared = { path = "crates/vite_shared" }
306306
vite_static_config = { path = "crates/vite_static_config" }
307-
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0c5c6236c9ae3b16c7fd02574d3f87537a938eee" }
308-
vite_powershell = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0c5c6236c9ae3b16c7fd02574d3f87537a938eee" }
309-
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0c5c6236c9ae3b16c7fd02574d3f87537a938eee" }
310-
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0c5c6236c9ae3b16c7fd02574d3f87537a938eee" }
311-
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0c5c6236c9ae3b16c7fd02574d3f87537a938eee" }
307+
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0068d09b24f8f1c27eb1aee3901058c784942ce4" }
308+
vite_powershell = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0068d09b24f8f1c27eb1aee3901058c784942ce4" }
309+
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0068d09b24f8f1c27eb1aee3901058c784942ce4" }
310+
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0068d09b24f8f1c27eb1aee3901058c784942ce4" }
311+
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "0068d09b24f8f1c27eb1aee3901058c784942ce4" }
312312
walkdir = "2.5.0"
313313
wax = "0.6.0"
314314
which = "8.0.0"

0 commit comments

Comments
 (0)