mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-09 15:57:10 +02:00
fix go vet error (#151)
This commit is contained in:
parent
03e2a7f474
commit
395102359b
@ -117,7 +117,7 @@ func usage(o io.Writer) {
|
||||
func safeStrToInt(str string) (i int) {
|
||||
i, err := strconv.Atoi(str)
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, "ERROR: Invalid integer \"%s\"", str)
|
||||
fmt.Fprintf(os.Stderr, "ERROR: Invalid integer \"%s\"\n", str)
|
||||
os.Exit(1)
|
||||
}
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user