mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Check if $files is empty, don't try to execute it (#12651)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user