Fix shellcheck warnings (#89)

This commit is contained in:
Franck Nijhof 2021-11-09 09:33:48 +01:00 committed by GitHub
parent 8aa75b069b
commit 256198ff88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ function bashio::api.supervisor() {
fi
status=${response##*$'\n'}
response=${response%$status}
response=${response%"$status"}
bashio::log.debug "Requested API resource: ${__BASHIO_SUPERVISOR_API}${resource}"
bashio::log.debug "Request method: ${method}"

View file

@ -94,7 +94,7 @@ function bashio::pwned() {
fi
status=${response##*$'\n'}
response=${response%$status}
response=${response%"$status"}
bashio::log.debug "Requested API resource: ${__BASHIO_HIBP_ENDPOINT}/${password:0:5}"
bashio::log.debug "API HTTP Response code: ${status}"