Skip to content

Commit 5533c8e

Browse files
committed
fix ci issues
1 parent 699702f commit 5533c8e

5 files changed

Lines changed: 4 additions & 9 deletions

File tree

Cargo.lock

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

crates/vite_glob/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ publish = false
88
rust-version.workspace = true
99

1010
[dependencies]
11-
rustc-hash = { workspace = true }
1211
thiserror = { workspace = true }
1312
vite_path = { workspace = true }
1413
wax = { workspace = true }
1514

1615
[dev-dependencies]
17-
tempfile = { workspace = true }
1816
vite_str = { workspace = true }
1917

2018
[lints]

crates/vite_task_graph/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ rust-version.workspace = true
1010
anyhow = { workspace = true }
1111
async-trait = { workspace = true }
1212
bincode = { workspace = true }
13-
cow-utils = { workspace = true }
1413
monostate = { workspace = true }
1514
petgraph = { workspace = true }
1615
rustc-hash = { workspace = true }

crates/vite_task_graph/src/config/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ fn resolve_glob_to_workspace_relative(
195195
workspace_root: &AbsolutePath,
196196
) -> Result<Str, ResolveTaskConfigError> {
197197
// A trailing `/` is shorthand for all files under that directory
198-
let expanded;
199-
let pattern = if let Some(prefix) = pattern.strip_suffix('/') {
200-
expanded = vite_str::format!("{prefix}/**");
198+
let expanded: Str;
199+
let pattern = if pattern.ends_with('/') {
200+
expanded = vite_str::format!("{pattern}**");
201201
expanded.as_str()
202202
} else {
203203
pattern

crates/vite_task_plan/src/plan.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ pub enum ParentCacheConfig {
391391
/// env config and merges in any additional envs the synthetic command needs.
392392
/// - If there is no parent (top-level invocation), the synthetic task's own
393393
/// [`UserCacheConfig`] is resolved with defaults.
394+
#[expect(clippy::result_large_err, reason = "Error is large for diagnostics")]
394395
fn resolve_synthetic_cache_config(
395396
parent: ParentCacheConfig,
396397
synthetic_cache_config: UserCacheConfig,

0 commit comments

Comments
 (0)