mirror of
https://github.com/beekeeper-studio/beekeeper-studio.git
synced 2026-03-13 10:12:54 +08:00
fix for ts tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Use $(...) for command substitution to capture output of find command
|
||||
FILES=$(find apps/studio/tests/integration/lib/db -name "*spec.js")
|
||||
FILES=$(find apps/studio/tests/integration/lib/db -name "*spec.*")
|
||||
|
||||
# Convert output to a JSON array of arrays with filename and full path
|
||||
JSON=$(echo "$FILES" | jq -Rsc 'split("\n") | map(select(. != "") | [(. | split("/") | last), .])')
|
||||
|
||||
Reference in New Issue
Block a user