fix: shellcheck
This commit is contained in:
parent
788f8fa951
commit
fd95560c66
5 changed files with 30 additions and 20 deletions
|
@ -8,15 +8,16 @@ TEXTRESET=$'\033[0m' # reset the foreground colour
|
|||
# -failfast -timeout=5m
|
||||
TESTFLAGS=(-cover "-coverprofile=cover.out" "${TESTFLAGS}")
|
||||
|
||||
if [ -n "$VERBOSE" ]; then
|
||||
if [ -n "${VERBOSE}" ]; then
|
||||
TESTFLAGS+=(-v)
|
||||
elif [ -n "$VERBOSE_UNIT" ]; then
|
||||
elif [ -n "${VERBOSE_UNIT}" ]; then
|
||||
TESTFLAGS+=(-v)
|
||||
fi
|
||||
|
||||
set +e
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
# shellcheck disable=SC2048
|
||||
go test ${TESTFLAGS[*]} ./pkg/...
|
||||
|
||||
CODE=$?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue