File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -e -u
55go test ./... -coverprofile cover.out -covermode atomic
66
77perc=` go tool cover -func=cover.out | tail -n 1 | sed -Ee ' s/^[^[:digit:]]+([[:digit:]]+(\.[[:digit:]]+)?)%$/\1/' `
8- res=` echo " $perc >= 80 .0" | bc`
8+ res=` echo " $perc >= 75 .0" | bc`
99test " $res " -eq 1 && exit 0
1010echo " Insufficient coverage: $perc " >&2
1111exit 1
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ func main() {
1515 if len (os .Args ) == 1 {
1616 fmt .Printf (`=====================================================
1717Welcome to code-buddy. Your CLI friend.
18- Example command: 'code-buddy lint go'
18+ Example command: 'code-buddy gitignore go'
1919=====================================================` )
2020 } else {
2121 err := reg .RunCommand (os .Args [1 ], os .Args [2 :])
You can’t perform that action at this time.
0 commit comments