Skip to content

Commit

Permalink
Fix script for checking on existing translations (home-assistant#114354)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Mar 28, 2024
1 parent a07dc85 commit ed90df3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ jobs:

- name: Fail if translations files are checked in
run: |
files=$(find homeassistant/components/*/translations -type f)
if [ -n "$files" ]; then
if [ -n "$(find homeassistant/components/*/translations -type f)" ]; then
echo "Translations files are checked in, please remove the following files:"
echo "$files"
find homeassistant/components/*/translations -type f
exit 1
fi
Expand Down

0 comments on commit ed90df3

Please sign in to comment.