From cd4798ea04253dfde7619b967c41faded90da270 Mon Sep 17 00:00:00 2001 From: Michael Shimokura Date: Thu, 8 Oct 2020 16:17:29 -0400 Subject: [PATCH] only assign EDITORCONFIG_FILE_NAME if not already assigned --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index 77713abe..86611690 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -77,7 +77,7 @@ DOCKERFILE_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${DOCKERFILE_FILE_NAME}" # Pa DOCKERFILE_HADOLINT_FILE_NAME="${DOCKERFILE_HADOLINT_FILE_NAME:-.hadolint.yml}" # Name of the file DOCKERFILE_HADOLINT_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${DOCKERFILE_HADOLINT_FILE_NAME}" # Path to the Docker lint rules # Editorconfig Vars -EDITORCONFIG_FILE_NAME='.ecrc' # Name of the file +EDITORCONFIG_FILE_NAME="${EDITORCONFIG_FILE_NAME:-.ecrc}" # Name of the file EDITORCONFIG_LINTER_RULES="${DEFAULT_RULES_LOCATION}/${EDITORCONFIG_FILE_NAME}" # Path to the Editorconfig lint rules # Golang Vars GO_FILE_NAME='.golangci.yml' # Name of the file