debug
This commit is contained in:
parent
fd89469dfa
commit
7cf022d779
@ -12,8 +12,8 @@ variables:
|
|||||||
- |
|
- |
|
||||||
output=$(hass -c . --script check_config 2>&1)
|
output=$(hass -c . --script check_config 2>&1)
|
||||||
filtered_output=$(echo "$output" | grep "ERROR" | grep -v "Unknown device")
|
filtered_output=$(echo "$output" | grep "ERROR" | grep -v "Unknown device")
|
||||||
echo "$filtered_output"
|
|
||||||
if [ -n "$filtered_output" ]; then
|
if [ -n "$filtered_output" ]; then
|
||||||
|
echo "$filtered_output"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user