From ae88a5fc8537d5796433928cf919bca7bebaf8c3 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Jul 2025 07:55:21 +0000 Subject: [PATCH] GitHub bot: fix linting issues (nobuild) --- .templates/01-config_yaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.templates/01-config_yaml.sh b/.templates/01-config_yaml.sh index 9f6832b2f..32d4f0e74 100644 --- a/.templates/01-config_yaml.sh +++ b/.templates/01-config_yaml.sh @@ -33,8 +33,8 @@ CONFIGSOURCE="$CONFIGLOCATION"/config.yaml # Is there a custom path if bashio::config.has_value 'CONFIG_LOCATION'; then CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION") - if [[ "$CONFIGSOURCE" == *"."* ]]; then - CONFIGSOURCE=$(dirname "$CONFIGSOURCE") + if [[ "$CONFIGSOURCE" == *"."* ]]; then + CONFIGSOURCE=$(dirname "$CONFIGSOURCE") fi # If does not end by config.yaml, remove trailing slash and add config.yaml if [[ "$CONFIGSOURCE" != *".yaml" ]]; then