mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 03:13:11 -06:00
Fix bash
This commit is contained in:
parent
75f1712ce1
commit
5d69fe9fbd
|
|
@ -32,7 +32,7 @@ go get github.com/golangci/golangci-lint/cmd/golangci-lint
|
|||
# Run linting
|
||||
echo "Looking for lint..."
|
||||
# If we're running in CI, a linting fail should fail the CI step
|
||||
if [ -n "$CI" ]; then
|
||||
if [ -n "${CI}" ]; then
|
||||
golangci-lint run $args
|
||||
else
|
||||
# Otherwise continue the script even if linting fails
|
||||
|
|
|
|||
Loading…
Reference in a new issue