Skip to content

Commit 7eda049

Browse files
committed
fix: lint error
1 parent 7012171 commit 7eda049

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkg/cmd/build.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ package cmd
55
import (
66
"bytes"
77
"context"
8+
"fmt"
89
"io"
910
"net/http"
1011
"net/url"
12+
"os"
1113
"os/exec"
1214
"path/filepath"
1315
"strings"
1416
"time"
17+
1518
"github.com/stainless-api/stainless-api-cli/pkg/jsonflag"
1619
"github.com/stainless-api/stainless-api-go"
1720
"github.com/stainless-api/stainless-api-go/option"
21+
1822
"github.com/tidwall/gjson"
1923
"github.com/tidwall/sjson"
2024
"github.com/urfave/cli/v3"
@@ -574,12 +578,12 @@ func hasFailedCommitStep(build stainless.BuildObject, target stainless.Target) b
574578
if buildTarget == nil {
575579
return false
576580
}
577-
581+
578582
status, _, conclusion := buildTarget.StepInfo("commit")
579583
if status == "completed" && conclusion == "fatal" {
580584
return true
581585
}
582-
586+
583587
return false
584588
}
585589

0 commit comments

Comments
 (0)