瀏覽代碼

skip keys starting with underscore

Markus-Rost 3 年之前
父節點
當前提交
87157b9adc
共有 1 個文件被更改,包括 4 次插入0 次删除
  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