Quellcode durchsuchen

skip keys starting with underscore

Markus-Rost vor 3 Jahren
Ursprung
Commit
87157b9adc
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      .github/workflows/commands.yaml

+ 4 - 0
.github/workflows/commands.yaml

@@ -19,6 +19,10 @@ jobs:
           language=$(basename $language .json)
           for file in `jq -r 'keys[]' interactions/i18n/$language.json`
           do
+            if [[ "$file" =~ ^_ ]]
+            then
+              continue
+            fi
             echo $file
             for key in `jq -r ".$file | keys[]" interactions/i18n/$language.json`
             do