mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-17 11:30:32 +02:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -20,7 +20,8 @@ if [[ ! -d /config ]] || ! bashio::supervisor.ping &>/dev/null; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
slug="${HOSTNAME/-/_}" ; slug="${slug#*_}"
|
||||
slug="${HOSTNAME/-/_}"
|
||||
slug="${slug#*_}"
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Resolve CONFIGSOURCE #
|
||||
@@ -132,7 +133,8 @@ PY
|
||||
# MAIN LOOP #
|
||||
############################################
|
||||
while IFS= read -r PAIR; do
|
||||
KEY="${PAIR%%=*}" ; VALUE="${PAIR#*=}"
|
||||
KEY="${PAIR%%=*}"
|
||||
VALUE="${PAIR#*=}"
|
||||
|
||||
# !secret support
|
||||
if [[ "$VALUE" =~ ^!secret[[:space:]]+(.+) ]]; then
|
||||
|
||||
Reference in New Issue
Block a user