Skip to content

Commit 8bc92fe

Browse files
committed
running golangci-lint fmt
1 parent fcc1f1e commit 8bc92fe

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

cmd/gh-combine/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99

1010
func main() {
1111
err := cmd.Run()
12-
1312
if err != nil {
1413
fmt.Println(err)
1514
os.Exit(1)

internal/cmd/combine_prs.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ func CombinePRs(ctx context.Context, graphQlClient *api.GraphQLClient, restClien
1717
Branch string
1818
Base string
1919
BaseSHA string
20-
}) error {
20+
},
21+
) error {
2122
// Define the combined branch name
2223
workingBranchName := combineBranchName + workingBranchSuffix
2324

internal/cmd/repos_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ repo3
5555
5656
repo4
5757
`
58-
err := os.WriteFile(validFilePath, []byte(validFileContent), 0644)
58+
err := os.WriteFile(validFilePath, []byte(validFileContent), 0o644)
5959
if err != nil {
6060
t.Fatalf("Failed to create test file: %v", err)
6161
}
@@ -173,7 +173,7 @@ repo3 # Comment after repo
173173
# Indented comment with spaces
174174
175175
`
176-
err := os.WriteFile(testFilePath, []byte(fileContent), 0644)
176+
err := os.WriteFile(testFilePath, []byte(fileContent), 0o644)
177177
if err != nil {
178178
t.Fatalf("Failed to create test file: %v", err)
179179
}

internal/cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"strings"
88

99
"github.com/cli/go-gh/v2/pkg/api"
10-
1110
"github.com/spf13/cobra"
1211

1312
"github.com/github/gh-combine/internal/version"

0 commit comments

Comments
 (0)