Skip to content

Commit

Permalink
Fixing go vet for pre commit hook
Browse files Browse the repository at this point in the history
Signed-off-by: Gan Shun Lim <ganshun@gmail.com>
  • Loading branch information
GanShun committed Mar 15, 2018
1 parent 2413cf2 commit 0bef43b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ fi

gofmt -w -s $FILES
golint -set_exit_status $FILES
go vet $FILES
go tool vet cmds pkg
go tool vet u-root.go

echo "Pre-Commit Passed"

0 comments on commit 0bef43b

Please sign in to comment.