Skip to content

Commit f7ae492

Browse files
authored
build: remove duplicate WASM size checks (#847)
1 parent 4c8275a commit f7ae492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check-wasm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ check_wasm() {
1919
get_example_crate_names() {
2020
# shellcheck disable=SC2038
2121
# 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 "'\""
22+
find ./examples -maxdepth 2 -type f -name "Cargo.toml" | xargs grep -m 1 'name = ' | grep -oE '".*"' | tr -d "'\""
2323
}
2424

2525
cargo build --release --target wasm32-unknown-unknown \

0 commit comments

Comments
 (0)