File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ This project is the Buildkite CLI (`bk`)
22
33## Commands
44- Test: ` go test ./... `
5- - Lint: ` docker-compose -f .buildkite/docker-compose.yaml run lint `
5+ - Lint: ` docker-compose -f .buildkite/docker-compose.yaml run golangci- lint golangci-lint run `
66- Generate: ` go generate ` (required after GraphQL changes)
77- Run: ` go run cmd/bk/main.go `
88
@@ -16,3 +16,4 @@ This project is the Buildkite CLI (`bk`)
1616
1717## Notes
1818- CI: https://buildkite.com/buildkite/buildkite-cli
19+ - Always format after changing code
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ func TestSpinWhileTTYDetection(t *testing.T) {
6060 // Test that TTY detection works as expected
6161 // This test documents the behavior rather than forcing specific outcomes
6262 isTTY := isatty .IsTerminal (os .Stdout .Fd ())
63-
63+
6464 actionCalled := false
6565 err := SpinWhile ("TTY detection test" , func () {
6666 actionCalled = true
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ import (
66
77 survey "github.com/AlecAivazis/survey/v2"
88 "github.com/MakeNowJust/heredoc"
9+ bk_io "github.com/buildkite/cli/v3/internal/io"
910 "github.com/buildkite/cli/v3/pkg/cmd/factory"
1011 buildkite "github.com/buildkite/go-buildkite/v4"
1112 "github.com/charmbracelet/lipgloss"
1213 "github.com/spf13/cobra"
13- bk_io "github.com/buildkite/cli/v3/internal/io"
1414)
1515
1616func NewCmdPipelineCreate (f * factory.Factory ) * cobra.Command {
You can’t perform that action at this time.
0 commit comments