File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,6 @@ RET_SCHK=$(staticcheck \
27
27
" ./... 2>&1 )
28
28
if [[ ! -z " $RET_SCHK " ]]; then echo " $RET_SCHK " ; echo ; fi
29
29
30
- echo -e " ${BOLD} vet${RESET} "
31
- RET_VET=$( go vet ./... 2>&1 |
32
- egrep -v " ^flate/dict_decoder.go:(.*)WriteByte" |
33
- egrep -v " ^exit status" )
34
- if [[ ! -z " $RET_VET " ]]; then echo " $RET_VET " ; echo ; fi
35
-
36
30
echo -e " ${BOLD} lint${RESET} "
37
31
RET_LINT=$( golint ./... 2>&1 |
38
32
egrep -v " should have comment(.*)or be unexported" |
@@ -43,7 +37,7 @@ RET_LINT=$(golint ./... 2>&1 |
43
37
egrep -v " ^exit status" )
44
38
if [[ ! -z " $RET_LINT " ]]; then echo " $RET_LINT " ; echo ; fi
45
39
46
- if [[ ! -z " $RET_FMT " ]] || [ ! -z " $RET_TEST " ] || [[ ! -z " $RET_VET " ]] || [[ ! -z " $ RET_SCHK" ]] || [[ ! -z " $RET_LINT " ]] || [[ ! -z " $RET_SPELL " ]]; then
40
+ if [[ ! -z " $RET_FMT " ]] || [ ! -z " $RET_TEST " ] || [[ ! -z " $RET_SCHK " ]] || [[ ! -z " $RET_LINT " ]]; then
47
41
echo -e " ${FAIL}${RESET} " ; exit 1
48
42
else
49
43
echo -e " ${PASS}${RESET} " ; exit 0
You can’t perform that action at this time.
0 commit comments