mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Check if $files is empty, don't try to execute it (#12651)
This commit is contained in:
parent
6d431c3fc3
commit
f51a3738aa
@ -8,7 +8,7 @@ if [ "$1" = "--changed" ]; then
|
||||
echo "================================================="
|
||||
echo "FILES CHANGED (git diff upstream/dev... --name-only)"
|
||||
echo "================================================="
|
||||
if $files >/dev/null; then
|
||||
if [ -z "$files" ] ; then
|
||||
echo "No python file changed"
|
||||
exit
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user