|
@@ -8,7 +8,6 @@ unset IFS
|
|
|
|
|
|
errors=()
|
|
errors=()
|
|
for f in "${files[@]}"; do
|
|
for f in "${files[@]}"; do
|
|
- # we use "git show" here to validate that what's committed passes go vet
|
|
|
|
failedLint=$(golint "$f")
|
|
failedLint=$(golint "$f")
|
|
if [ "$failedLint" ]; then
|
|
if [ "$failedLint" ]; then
|
|
errors+=( "$failedLint" )
|
|
errors+=( "$failedLint" )
|