mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 20:11:24 +00:00
✏Fix typos (#28)
This commit is contained in:
parent
06a62201a0
commit
dbc5c19299
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue