✏Fix typos (#28)

This commit is contained in:
Paul Sinclair 2020-08-04 08:19:26 -04:00 committed by GitHub
parent 06a62201a0
commit dbc5c19299
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ function bashio::cache.set() {
if ! bashio::fs.directory_exists "${__BASHIO_CACHE_DIR}"; then if ! bashio::fs.directory_exists "${__BASHIO_CACHE_DIR}"; then
mkdir -p "${__BASHIO_CACHE_DIR}" || mkdir -p "${__BASHIO_CACHE_DIR}" ||
basshio::exit.nok "Could not create cache folder" bashio::exit.nok "Could not create cache folder"
fi fi
if ! printf "%s" "$value" > "${__BASHIO_CACHE_DIR}/${key}.cache"; then if ! printf "%s" "$value" > "${__BASHIO_CACHE_DIR}/${key}.cache"; then
@ -100,7 +100,7 @@ bashio::cache.flush_all() {
fi fi
if ! rm -f -r "${__BASHIO_CACHE_DIR}"; then if ! rm -f -r "${__BASHIO_CACHE_DIR}"; then
basshio::exit.nok "Could not flush cache" bashio::exit.nok "Could not flush cache"
return "${__BASHIO_EXIT_NOK}" return "${__BASHIO_EXIT_NOK}"
fi fi