We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8275a commit f7ae492Copy full SHA for f7ae492
scripts/check-wasm.sh
@@ -19,7 +19,7 @@ check_wasm() {
19
get_example_crate_names() {
20
# shellcheck disable=SC2038
21
# NOTE: optimistically relying on the 'name = ' string at Cargo.toml file
22
- find ./examples -maxdepth 2 -type f -name "Cargo.toml" | xargs grep 'name = ' | grep -oE '".*"' | tr -d "'\""
+ find ./examples -maxdepth 2 -type f -name "Cargo.toml" | xargs grep -m 1 'name = ' | grep -oE '".*"' | tr -d "'\""
23
}
24
25
cargo build --release --target wasm32-unknown-unknown \
0 commit comments