File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ OUT=$(errcheck $PKG/...)
12
12
if [ $( echo " $OUT \c" | wc -l) -ne 0 ]; then echo " $OUT " ; PROBLEM=1; fi
13
13
14
14
echo " go vet:"
15
- OUT=$( go tool vet -all=true -v=true $ROOT_DIR 2>&1 | /usr/bin/ grep --invert-match -E " (Checking file|\%p of wrong type|can't check non-constant format)" )
15
+ OUT=$( go tool vet -all=true -v=true $ROOT_DIR 2>&1 | grep --invert-match -E " (Checking file|\%p of wrong type|can't check non-constant format)" )
16
16
if [ $( echo " $OUT \c" | wc -l) -ne 0 ]; then echo " $OUT " ; PROBLEM=1; fi
17
17
18
18
echo " golint:"
19
- OUT=$( golint $PKG /... | /usr/bin/ grep --invert-match -E " (method DiffPrettyHtml should be DiffPrettyHTML)" )
19
+ OUT=$( golint $PKG /... | grep --invert-match -E " (method DiffPrettyHtml should be DiffPrettyHTML)" )
20
20
if [ $( echo " $OUT \c" | wc -l) -ne 0 ]; then echo " $OUT " ; PROBLEM=1; fi
21
21
22
22
if [ -n " $PROBLEM " ]; then exit 1; fi
You can’t perform that action at this time.
0 commit comments