From 5b01cc94f3ade4d6b6291329fa39a94b2dcdd7b4 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Thu, 31 Aug 2023 09:48:44 -0700 Subject: [PATCH] Fix translation health reports (#41778) --- .github/workflows/translation-health-report.yml | 2 +- src/languages/scripts/create-translation-health-report.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translation-health-report.yml b/.github/workflows/translation-health-report.yml index 613f73f5a1..a5017bbea8 100644 --- a/.github/workflows/translation-health-report.yml +++ b/.github/workflows/translation-health-report.yml @@ -85,7 +85,7 @@ jobs: env: POPULAR_PAGES_JSON: popular-pages/records/popular-pages.json run: | - node script/i18n/create-translation-health-report.js \ + node src/languages/scripts/create-translation-health-report.js \ --language ${{ matrix.language }} \ --gitref ${{ env.gitref }} \ >> $GITHUB_WORKSPACE/translation-health-report.json diff --git a/src/languages/scripts/create-translation-health-report.js b/src/languages/scripts/create-translation-health-report.js index 4365178d5b..d850cc90db 100755 --- a/src/languages/scripts/create-translation-health-report.js +++ b/src/languages/scripts/create-translation-health-report.js @@ -8,7 +8,7 @@ /* Nota bene: If you are getting more errors all the sudden, try running this: - $ script/i18n/create-translation-health-report.js -l en -r 000 + $ src/languages/scripts/create-translation-health-report.js -l en -r 000 If there's any errors before getting the JSON output, const context = { ... } probably needs more data. */