From ef84a5a76aecbe8bec16efc79b775b6449e8418a Mon Sep 17 00:00:00 2001 From: James Shubin Date: Fri, 12 May 2023 12:10:46 -0400 Subject: [PATCH] test: Rename var Copy pasted from old script. --- test/test-golangci-lint.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/test-golangci-lint.sh b/test/test-golangci-lint.sh index da5dc066..378d613a 100755 --- a/test/test-golangci-lint.sh +++ b/test/test-golangci-lint.sh @@ -19,18 +19,18 @@ function run-test() } # TODO: run more linters here if we're brave... -gml='golangci-lint run --disable-all' +glc='golangci-lint run --disable-all' # enable linters here -gml="$gml --enable=goimports" -gml="$gml --enable=revive" -gml="$gml --enable=misspell" +glc="$glc --enable=goimports" +glc="$glc --enable=revive" +glc="$glc --enable=misspell" # exclude files and directories here: -# gml = "$gml --skip-files=EnterFileName" -# gml = "$gml --skip-dirs=EnterDirName" +# glc = "$glc --skip-files=EnterFileName" +# glc = "$glc --skip-dirs=EnterDirName" -golangci_lint="$gml" # final +golangci_lint="$glc" # final echo "Using: $golangci_lint" # loop through directories in an attempt to scan each go package