Fix script for checking on existing translations (#114354)
This commit is contained in:
parent
a07dc85bf4
commit
ed90df309c
1 changed files with 2 additions and 4 deletions
6
.github/workflows/builder.yml
vendored
6
.github/workflows/builder.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue