misc: Fix typos and spelling errors
This commit is contained in:
@@ -49,7 +49,7 @@ commit_title_regex='^\([a-z0-9]\(\(, \)\|[a-z0-9]\)*[a-z0-9]: \)\+[A-Z0-9][^:]\+
|
||||
# More than one char is required before :
|
||||
[[ $(echo "a: bar" | grep -c "$commit_title_regex") -eq 0 ]]
|
||||
|
||||
# Run checks agains multiple :.
|
||||
# Run checks against multiple :.
|
||||
[[ $(echo "a: bar:" | grep -c "$commit_title_regex") -eq 0 ]]
|
||||
[[ $(echo "a: bar, fooX: Barfoo" | grep -c "$commit_title_regex") -eq 0 ]]
|
||||
[[ $(echo "a: bar, foo: barfoo foo: Nope" | grep -c "$commit_title_regex") -eq 0 ]]
|
||||
|
||||
@@ -26,7 +26,7 @@ if [ "$COMMITS" != "" ] && [ "$COMMITS" -gt "1" ]; then
|
||||
HACK="yes"
|
||||
fi
|
||||
|
||||
# find all go files, exluding temporary directories and generated files
|
||||
# find all go files, excluding temporary directories and generated files
|
||||
LINT=$(find * -maxdepth 9 -iname '*.go' -not -path 'old/*' -not -path 'tmp/*' -not -path 'lang/parser/y.go' -not -path 'lang/parser/lexer.nn.go' -not -path 'lang/interpolate/parse.generated.go' -not -path 'vendor/*' -exec golint {} \;) # current golint output
|
||||
|
||||
COUNT=`echo -e "$LINT" | wc -l` # number of golint problems in current branch
|
||||
|
||||
Reference in New Issue
Block a user