Skip to content

Commit

Permalink
Improved wildcard
Browse files Browse the repository at this point in the history
  • Loading branch information
Fargekritt committed Jan 14, 2025
1 parent 31e5f27 commit 391ae4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/k6/scripts/generate_all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FUNCTION_BODY=""

# Get all *.js files in the directory except for "all-tests.js"
for JS_FILE in "$DIRECTORY_PATH"/*.js; do
if [[ $DIRECTORY_PATH != *"performance"* ]]; then
if [[ $DIRECTORY_PATH != *"/performance/"* ]]; then
BASE_NAME=$(basename "$JS_FILE" .js)

if [[ "$BASE_NAME" != "all-tests" ]]; then
Expand Down

0 comments on commit 391ae4d

Please sign in to comment.