Skip to content

Commit

Permalink
narrow down crate search in wasm tests runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Frizi committed Oct 23, 2024
1 parent 70dab6c commit 0ee4cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tools/build/src/project/wasm/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl From<Browser> for wasm_pack::TestFlags {

/// Lists members of given Cargo.toml workspace.
pub fn get_all_crates(repo_root: impl AsRef<Path>) -> Result<Vec<PathBuf>> {
let pattern = repo_root.as_ref().join("**/Cargo.toml");
let pattern = repo_root.as_ref().join("[al][pi][pb]/**/Cargo.toml");
let all_paths =
glob::glob(pattern.as_str()).context(format!("Globbing {} failed", pattern.display()))?;
let valid_paths = all_paths.filter_map(|path| match path {
Expand Down

0 comments on commit 0ee4cd5

Please sign in to comment.