Skip to content

chore: remove apitypings specific go.mod #15899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
linting
  • Loading branch information
Emyrk committed Dec 17, 2024
commit 46fba2782af1eb245cb1b6c98583c4b3aebffd72
2 changes: 1 addition & 1 deletion scripts/apitypings/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func main() {
if err != nil {
log.Fatalf("serialize: %v", err)
}
fmt.Println(output)
_, _ = fmt.Println(output)
}

func TsMutations(ts *guts.Typescript) {
Expand Down
3 changes: 1 addition & 2 deletions scripts/apitypings/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package main

import (
"flag"
"log"
"os"
"path/filepath"
"strings"
Expand Down Expand Up @@ -39,7 +38,7 @@ func TestGeneration(t *testing.T) {

gen, err := guts.NewGolangParser()
if err != nil {
log.Fatalf("new convert: %v", err)
require.NoError(t, err)
}
err = gen.IncludeGenerate("./" + dir)
require.NoError(t, err)
Expand Down