From fa8d0cdf45aa791e06ef2fba534426ca34a582d0 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Tue, 22 Apr 2025 21:01:26 +0200 Subject: [PATCH] ci(check-locale): fix check-locale workflow (#2202) --- .github/workflows/check_locale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_locale.yml b/.github/workflows/check_locale.yml index c25a92fa..b3244c2c 100644 --- a/.github/workflows/check_locale.yml +++ b/.github/workflows/check_locale.yml @@ -36,7 +36,7 @@ jobs: run: | mkdir ./i18n-extract for file in ${{ steps.changed-files.outputs.all_changed_files }}; do - npx vue-i18n-extract --vueFiles './src/**/{*.?(js|ts|vue),.i18nignore}' --languageFiles './src/locales/${file##*/}' --output './i18n-extract/${file##*/}' + npx vue-i18n-extract --vueFiles './src/**/{*.?(js|ts|vue),.i18nignore}' --languageFiles ./src/locales/${file##*/} --output ./i18n-extract/${file##*/} MISSING=$(cat i18n-extract/${file##*/} | jq '.missingKeys | length') UNUSED=$(cat i18n-extract/${file##*/} | jq '.unusedKeys | length') echo "$file=|${file##*/}|${MISSING}|${UNUSED}|" >> $GITHUB_OUTPUT