8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c386a6 commit 46fba27Copy full SHA for 46fba27
scripts/apitypings/main.go
@@ -59,7 +59,7 @@ func main() {
59
if err != nil {
60
log.Fatalf("serialize: %v", err)
61
}
62
- fmt.Println(output)
+ _, _ = fmt.Println(output)
63
64
65
func TsMutations(ts *guts.Typescript) {
scripts/apitypings/main_test.go
@@ -8,7 +8,6 @@ package main
8
9
import (
10
"flag"
11
- "log"
12
"os"
13
"path/filepath"
14
"strings"
@@ -39,7 +38,7 @@ func TestGeneration(t *testing.T) {
39
38
40
gen, err := guts.NewGolangParser()
41
42
- log.Fatalf("new convert: %v", err)
+ require.NoError(t, err)
43
44
err = gen.IncludeGenerate("./" + dir)
45
require.NoError(t, err)
0 commit comments