golint: Fixup issues found in the report
This also increases the max allowed to 5% -- I'm happy to make this lower if someone asks.
This commit is contained in:
@@ -8,7 +8,7 @@ echo running test-golint.sh
|
||||
# FIXME: test a range of commits, since only the last patch is checked here
|
||||
PREVIOUS='HEAD^'
|
||||
CURRENT='HEAD'
|
||||
THRESHOLD=15 # percent problems per new LOC
|
||||
THRESHOLD=5 # percent problems per new LOC
|
||||
XPWD=`pwd`
|
||||
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" # dir!
|
||||
cd "${ROOT}" >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user