mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -33,8 +33,8 @@ CONFIGSOURCE="$CONFIGLOCATION"/config.yaml
|
|||||||
# Is there a custom path
|
# Is there a custom path
|
||||||
if bashio::config.has_value 'CONFIG_LOCATION'; then
|
if bashio::config.has_value 'CONFIG_LOCATION'; then
|
||||||
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
||||||
if [[ "$CONFIGSOURCE" == *"."* ]]; then
|
if [[ "$CONFIGSOURCE" == *"."* ]]; then
|
||||||
CONFIGSOURCE=$(dirname "$CONFIGSOURCE")
|
CONFIGSOURCE=$(dirname "$CONFIGSOURCE")
|
||||||
fi
|
fi
|
||||||
# If does not end by config.yaml, remove trailing slash and add config.yaml
|
# If does not end by config.yaml, remove trailing slash and add config.yaml
|
||||||
if [[ "$CONFIGSOURCE" != *".yaml" ]]; then
|
if [[ "$CONFIGSOURCE" != *".yaml" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user