Skip to content

Commit

Permalink
use z
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Aug 15, 2021
1 parent fcc432e commit a9c56fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/hacsjson
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function checkRun () {
fi

iot_class=$(jq .iot_class "$GITHUB_ACTION_PATH/data/hacs.json")
if [ ! -n "${iot_class}" ]; then
if [ -z "${iot_class}" ]; then
checkWarning "'iot_class' is defined in hacs.json, this should be defined in manifest.json https://developers.home-assistant.io/docs/creating_integration_manifest/#iot-class"
fi
fi
Expand Down

0 comments on commit a9c56fb

Please sign in to comment.