We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c98e4fa commit f61dce0Copy full SHA for f61dce0
scripts/errcheck.sh
@@ -12,7 +12,7 @@ err_files=$(errcheck -ignoretests \
12
-ignore 'github.com/hashicorp/terraform/helper/schema:Set' \
13
-ignore 'bytes:.*' \
14
-ignore 'io:Close|Write' \
15
- $(go list ./...| grep -v /vendor/))
+ $(go list ./...))
16
17
if [[ -n ${err_files} ]]; then
18
echo 'Unchecked errors found in the following places:'
scripts/gofmtcheck.sh
@@ -2,7 +2,7 @@
2
3
# Check gofmt
4
echo "==> Checking that code complies with gofmt requirements..."
5
-gofmt_files=$(gofmt -l `find . -name '*.go' | grep -v vendor`)
+gofmt_files=$(gofmt -l `find . -name '*.go'`)
6
if [[ -n ${gofmt_files} ]]; then
7
echo 'gofmt needs running on the following files:'
8
echo "${gofmt_files}"
0 commit comments