mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Fix script for checking on existing translations (#114354)
This commit is contained in:
parent
a07dc85bf4
commit
ed90df309c
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…
x
Reference in New Issue
Block a user