Skip to content

Commit

Permalink
Fix shellcheck warnings (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Nov 9, 2021
1 parent 8aa75b0 commit 256198f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion lib/pwned.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 256198f

Please sign in to comment.