Skip to content

Commit 8f1148c

Browse files
committed
lint
1 parent 6450511 commit 8f1148c

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

pkg/cmd/buildtargetoutput.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package cmd
55
import (
66
"context"
77
"fmt"
8-
"os"
98

109
"github.com/stainless-api/stainless-api-cli/pkg/jsonflag"
1110
"github.com/stainless-api/stainless-api-go"

pkg/cmd/cmd.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,10 @@ stl builds create --branch <branch>`,
171171
},
172172
},
173173
},
174-
175174
},
176175
EnableShellCompletion: true,
177176
ShellCompletionCommandName: "@completion",
178-
HideHelpCommand: true,
177+
HideHelpCommand: true,
179178
}
180179
}
181180

pkg/cmd/stainlessutils.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ func (b *BuildObject) Languages() []stainless.Target {
121121
return languages
122122
}
123123

124-
125124
// IsCompleted checks if the entire build is completed (all targets)
126125
func (b *BuildObject) IsCompleted() bool {
127126
languages := b.Languages()
@@ -134,7 +133,6 @@ func (b *BuildObject) IsCompleted() bool {
134133
return true
135134
}
136135

137-
138136
// BuildTarget wraps stainless.BuildTarget to provide convenience methods
139137
type BuildTarget struct {
140138
*stainless.BuildTarget
@@ -263,4 +261,4 @@ func (bt *BuildTarget) IsInProgress() bool {
263261
func (bt *BuildTarget) IsCommitCompleted() bool {
264262
status, _, _ := bt.StepInfo("commit")
265263
return status == "completed"
266-
}
264+
}

0 commit comments

Comments
 (0)