mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +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 "================================================="
|
||||||
echo "FILES CHANGED (git diff upstream/dev... --name-only)"
|
echo "FILES CHANGED (git diff upstream/dev... --name-only)"
|
||||||
echo "================================================="
|
echo "================================================="
|
||||||
if $files >/dev/null; then
|
if [ -z "$files" ] ; then
|
||||||
echo "No python file changed"
|
echo "No python file changed"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user