File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,13 +8,11 @@ publish = false
88rust-version.workspace = true
99
1010[dependencies ]
11- rustc-hash = { workspace = true }
1211thiserror = { workspace = true }
1312vite_path = { workspace = true }
1413wax = { workspace = true }
1514
1615[dev-dependencies ]
17- tempfile = { workspace = true }
1816vite_str = { workspace = true }
1917
2018[lints ]
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ rust-version.workspace = true
1010anyhow = { workspace = true }
1111async-trait = { workspace = true }
1212bincode = { workspace = true }
13- cow-utils = { workspace = true }
1413monostate = { workspace = true }
1514petgraph = { workspace = true }
1615rustc-hash = { workspace = true }
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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" ) ]
394395fn resolve_synthetic_cache_config (
395396 parent : ParentCacheConfig ,
396397 synthetic_cache_config : UserCacheConfig ,
You can’t perform that action at this time.
0 commit comments