Fix script for checking on existing translations (#114354)

This commit is contained in:
Robert Resch 2024-03-28 09:11:02 +01:00 committed by GitHub
parent a07dc85bf4
commit ed90df309c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -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