From dacf1117b7c6f760084633edf22095a9a8baac9d Mon Sep 17 00:00:00 2001 From: Misode Date: Thu, 26 Dec 2019 05:03:45 +0100 Subject: [PATCH] Typo --- .github/workflows/update_locales.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_locales.yml b/.github/workflows/update_locales.yml index b70f7dcb..49b51bee 100644 --- a/.github/workflows/update_locales.yml +++ b/.github/workflows/update_locales.yml @@ -14,7 +14,7 @@ jobs: python-version: '10.x' - name: Fetch changes from Tabula run: | - format_script=""let obj = JSON.parse(process.argv[1]); JSON.stringify(obj, Object.keys(obj).sort(), 4);" + format_script="let obj = JSON.parse(process.argv[1]); JSON.stringify(obj, Object.keys(obj).sort(), 4);" node -p "$format_script" "$(curl 'https://tabulas.herokuapp.com/api/loot-table/en/')" > "locales/en.json" node -p "$format_script" "$(curl 'https://tabulas.herokuapp.com/api/loot-table/ru/')" > "locales/ru.json" node -p "$format_script" "$(curl 'https://tabulas.herokuapp.com/api/loot-table/zh-CN/')" > "locales/zh-CN.json"