diff --git a/bench/build b/bench/build index 854e2a3..5c1d602 100755 --- a/bench/build +++ b/bench/build @@ -10,7 +10,7 @@ pushd runners >/dev/null npm i for r in *; do - if [ ! -d "$r" ]; then + if [[ ! -d "$r" ]] || [[ "$r" == "node_modules" ]]; then continue fi echo "Building $r..." diff --git a/bench/run b/bench/run index 87e9248..4f42232 100755 --- a/bench/run +++ b/bench/run @@ -18,7 +18,7 @@ mkdir -p "$results_dir" pushd runners >/dev/null for r in *; do - if [ ! -d "$r" ]; then + if [[ ! -d "$r" ]] || [[ "$r" == "node_modules" ]]; then continue fi echo "Running $r..."