Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
0029740d
Commit
0029740d
authored
Apr 26, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #61 from adamreese/fix/golint-out
fix(golint): fix printing blank lines
parents
fe0dcd2d
bd61e3ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
validate-go.sh
scripts/validate-go.sh
+2
-1
No files found.
scripts/validate-go.sh
View file @
0029740d
...
...
@@ -17,7 +17,8 @@ hash godir 2>/dev/null || go get -u github.com/Masterminds/godir
echo
"==> Running golint..."
for
pkg
in
$(
godir pkgs |
grep
-v
proto
)
;
do
if
golint_out
=
$(
golint
"
$pkg
"
2>&1
)
;
then
golint_out
=
$(
golint
"
$pkg
"
2>&1
)
if
[[
-n
"
$golint_out
"
]]
;
then
echo
"
${
yellow
}${
golint_out
}${
reset
}
"
fi
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment