Skip to content

Commit

Permalink
Fixed the argument for git status command so it looks into correct lo…
Browse files Browse the repository at this point in the history
…cales folder path
  • Loading branch information
Mylanos committed Aug 16, 2023
1 parent d2d200b commit 6024c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ OPENSHIFT_CI=${OPENSHIFT_CI:=false}
ARTIFACT_DIR=${ARTIFACT_DIR:=/tmp/artifacts}

yarn i18n
GIT_STATUS="$(git status --short --untracked-files -- public/locales packages/**/locales)"
GIT_STATUS="$(git status --short --untracked-files -- locales)"
if [ -n "$GIT_STATUS" ]; then
echo "i18n files are not up to date. Run 'yarn i18n' then commit changes."
git --no-pager diff
Expand Down

0 comments on commit 6024c80

Please sign in to comment.