Sign in
fuchsia
/
third_party
/
github.com
/
bazelbuild
/
remote-apis-sdks
/
a15001f75e6ad524a427f89d28a6bc77968d1f3b
/
.
/
check-golint.sh
blob: 9b9a8dd8603fedf0a5070d8e64b637d8de03410a [
file
] [
log
] [
blame
]
#!/bin/bash
linterrs
=
$
(
golint
-
min_confidence
1.0
./...)
[
-
z
"$linterrs"
]
&&
exit
0
# Some files are not golint'd. Print message and fail.
echo
>&
2
"Please fix the following lint errors:"
echo
>&
2
"$linterrs"
exit
1