mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Exclude incomplete lang files from sort and check
This will exempt them from the future pipeline tests
This commit is contained in:
parent
06898ab37a
commit
24d712e30e
@ -49,8 +49,8 @@ get_keys "${DIR}/en_EN.json" | sort > "${ref_keys}"
|
||||
|
||||
# Iterate over each .json file in the directory
|
||||
for file in "${DIR}"/*.json; do
|
||||
# Check if file is a regular file and not en_EN.json
|
||||
if [[ -f "${file}" && "${file}" != "${DIR}/en_EN.json" ]]; then
|
||||
# Check if file is a regular file and not en_EN.json, and does not contain "_incomplete" in its name
|
||||
if [[ -f "${file}" && "${file}" != "${DIR}/en_EN.json" && ! "${file}" =~ _incomplete ]]; then
|
||||
|
||||
# Get keys and subkeys from the current file
|
||||
current_keys=$(mktemp)
|
||||
|
Loading…
Reference in New Issue
Block a user