1
0
Fork 0

Merge pull request #1981 from halemmerich/apploader

apploader - Ignore empty folder instead of creating invalid json
master
Gordon Williams 2022-06-27 11:30:07 +01:00 committed by GitHub
commit fd3cce236c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ echo "[" > "$outfile"
first=1
for app in apps/*/; do
echo "Processing $app...";
if [[ "$app" =~ ^apps/_example.* ]]; then
if [[ "$app" =~ ^apps/_example.* ]] || [ ! -e "$app/"metadata.json ]; then
echo "Ignoring $app"
else
if [ $first -eq 1 ]; then