53c11dfc5d
* Stop storagenode on ctrl+c * Cancel grpc server * handle error * handle error * use errgroup * fix check-travis-tidy * remove pipefail
12 lines
237 B
Bash
Executable File
12 lines
237 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CHANGES=$(git diff --name-only $TRAVIS_COMMIT_RANGE -- go.mod go.sum) || CHANGES="fail"
|
|
|
|
if [ -z "$CHANGES" ]
|
|
then
|
|
echo "go modules not changed"
|
|
else
|
|
echo "go module changes detected: $CHANGES"
|
|
gospace istidy
|
|
fi
|