Fix CI warning "[: =~: binary operator expected" (#3470)

This commit is contained in:
Pascal Vizeli 2022-02-28 12:26:38 +01:00 committed by GitHub
parent 21a5479a2e
commit 205f3a74dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,7 +307,7 @@ jobs:
echo "Check supervisor supported" echo "Check supervisor supported"
test=$(docker exec hassio_cli ha resolution info --no-progress --raw-json | jq -r '.data.unsupported[]') test=$(docker exec hassio_cli ha resolution info --no-progress --raw-json | jq -r '.data.unsupported[]')
if [ "$test" =~ source_mods ];then if [[ "$test" =~ source_mods ]]; then
exit 1 exit 1
fi fi