Skip to content

Commit

Permalink
[FAB-12440] disable goimports in linting
Browse files Browse the repository at this point in the history
Change-Id: Iaa329c325056a68c54237f59960417abebd6f9d7
Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
  • Loading branch information
sykesm committed Oct 16, 2018
1 parent 30e9572 commit 937b2bc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/golinter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ do
exit 1
fi

echo "Checking with goimports"
OUTPUT="$(goimports -srcdir $GOPATH/src/github.com/hyperledger/fabric -l $i | grep -v testdata/ || true )"
if [[ $OUTPUT ]]; then
echo "The following files contain goimports errors"
echo $OUTPUT
echo "The goimports command 'goimports -l -w' must be run for these files"
exit 1
fi

echo "Checking with go vet"
OUTPUT="$(go vet -composites=false $i/...)"
if [[ $OUTPUT ]]; then
Expand Down

0 comments on commit 937b2bc

Please sign in to comment.