Skip to content

Commit 3b55575

Browse files
committed
chore(deps): bump vite-task pin to merged 88bacaa7
Picks up the squash-merged voidzero-dev/vite-task#368 (the `vite_powershell` crate extraction). Replaces the draft-branch SHA `957278df` with the merged-to-main SHA across all 7 vite-task crate pins (fspy, vite_glob, vite_path, vite_powershell, vite_str, vite_task, vite_workspace).
1 parent fc05b17 commit 3b55575

3 files changed

Lines changed: 36 additions & 30 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ dunce = "1.0.5"
8989
fast-glob = "1.0.0"
9090
flate2 = { version = "=1.1.9", features = ["zlib-rs"] }
9191
form_urlencoded = "1.2.1"
92-
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "957278dfba4eac6756a564372c0bb26df0870707" }
92+
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "88bacaa770200ddab151dea252e04ba8cdcc4ade" }
9393
futures = "0.3.31"
9494
futures-util = "0.3.31"
9595
glob = "0.3.2"
@@ -194,18 +194,18 @@ vfs = "0.13.0"
194194
vite_command = { path = "crates/vite_command" }
195195
vite_error = { path = "crates/vite_error" }
196196
vite_js_runtime = { path = "crates/vite_js_runtime" }
197-
vite_glob = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "957278dfba4eac6756a564372c0bb26df0870707" }
197+
vite_glob = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "88bacaa770200ddab151dea252e04ba8cdcc4ade" }
198198
vite_install = { path = "crates/vite_install" }
199199
vite_migration = { path = "crates/vite_migration" }
200200
vite_pm_cli = { path = "crates/vite_pm_cli" }
201201
vite_setup = { path = "crates/vite_setup" }
202202
vite_shared = { path = "crates/vite_shared" }
203203
vite_static_config = { path = "crates/vite_static_config" }
204-
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "957278dfba4eac6756a564372c0bb26df0870707" }
205-
vite_powershell = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "957278dfba4eac6756a564372c0bb26df0870707" }
206-
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "957278dfba4eac6756a564372c0bb26df0870707" }
207-
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "957278dfba4eac6756a564372c0bb26df0870707" }
208-
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "957278dfba4eac6756a564372c0bb26df0870707" }
204+
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "88bacaa770200ddab151dea252e04ba8cdcc4ade" }
205+
vite_powershell = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "88bacaa770200ddab151dea252e04ba8cdcc4ade" }
206+
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "88bacaa770200ddab151dea252e04ba8cdcc4ade" }
207+
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "88bacaa770200ddab151dea252e04ba8cdcc4ade" }
208+
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "88bacaa770200ddab151dea252e04ba8cdcc4ade" }
209209
walkdir = "2.5.0"
210210
wax = "0.6.0"
211211
which = "8.0.0"

packages/tools/src/snap-test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,13 @@ export async function snapTest() {
168168
);
169169

170170
// Clean up the temporary directory on exit
171-
process.on('exit', () => fs.rmSync(tempTmpDir, { recursive: true, force: true }));
171+
process.on('exit', () => {
172+
try {
173+
fs.rmSync(tempTmpDir, { recursive: true, force: true });
174+
} catch (error) {
175+
console.error('Error cleaning up temporary directory: %s, %s', tempTmpDir, error);
176+
}
177+
});
172178

173179
const casesDir = path.resolve(values.dir || 'snap-tests');
174180

0 commit comments

Comments
 (0)