👕 🔥 Fix linter warnings

This commit is contained in:
Timmo 2018-12-12 13:25:00 +00:00
parent f53e8b4cd3
commit 8db2f8250a

View file

@ -11,11 +11,6 @@ hass.log.info "Run API.."
# shellcheck disable=SC2164
cd /opt/api
local DB_PATH
local CONFIG_PATH
local SSL_PATH_CERT
local SSL_PATH_KEY
DB_PATH=/config/home-panel.db
CONFIG_PATH=/config/$(hass.config.get 'config_file')
@ -24,4 +19,9 @@ if hass.config.true 'ssl'; then
SSL_PATH_KEY="/ssl/$(hass.config.get 'keyfile')"
fi
export DB_PATH
export CONFIG_PATH
export SSL_PATH_CERT
export SSL_PATH_KEY
exec node index.js