Skip to content

Commit

Permalink
Check for i18n file differences
Browse files Browse the repository at this point in the history
Test was still using the old file location for i18n files. I updated it to handle public and packages.
  • Loading branch information
rebeccaalpert committed Nov 11, 2020
1 parent 41ec2c3 commit 90c6b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-frontend.sh
Expand Up @@ -21,7 +21,7 @@ if git status --short | grep 'yarn.lock' > /dev/null; then
fi

yarn i18n
GIT_STATUS="$( git status --short --untracked-files -- ./locales )"
GIT_STATUS=[$(git status --short --untracked-files -- public/locales packages/**/locales)]
if [ -n "$GIT_STATUS" ]; then
echo "i18n files are not up to date. Commit them to fix."
git diff
Expand Down

0 comments on commit 90c6b9d

Please sign in to comment.