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 48396f9 commit e11656fCopy full SHA for e11656f
1 file changed
.github/workflows/validate-json.yml
@@ -66,7 +66,8 @@ jobs:
66
- name: Find and validate data.json files
67
run: |
68
echo "Validating JSON files..."
69
- for FILE in $(find Demo -name "data.json"); do
+ # Use -print0 and read -d '' to handle filenames with spaces properly
70
+ find Demo -name "data.json" -print0 | while IFS= read -r -d '' FILE; do
71
echo "Checking $FILE"
72
# Check JSON syntax
73
if ! jq empty "$FILE" 2>/dev/null; then
0 commit comments