Skip to content

Commit 5332270

Browse files
committed
goimport
1 parent 92776d6 commit 5332270

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

cmd/prompt/prompt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func NewPromptForCredentials(in io.Reader, out, errOut io.Writer) func(repositor
7878

7979
result = oci.Credentials{Username: u, Password: p}
8080
}
81-
81+
8282
if strings.TrimSpace(result.Username) == "" || strings.TrimSpace(result.Password) == "" {
8383
return oci.Credentials{}, errors.New("username or password cannot be empty")
8484
}

third_party/VENDOR-LICENSE/github.com/hashicorp/go-cleanhttp/doc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616
// connecting to the same hosts repeatedly from the same client, you can use
1717
// DefaultPooledClient to receive a client that has connection pooling
1818
// semantics similar to http.DefaultClient.
19-
//
2019
package cleanhttp

third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/fmtcmd/fmtcmd_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
//go:build !windows
12
// +build !windows
3+
24
// TODO(jen20): These need fixing on Windows but fmt is not used right now
35
// and red CI is making it harder to process other bugs, so ignore until
46
// we get around to fixing them.

third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/hcl/printer/nodes.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -721,10 +721,9 @@ func (p *printer) heredocIndent(buf []byte) []byte {
721721
//
722722
// A single line object:
723723
//
724-
// * has no lead comments (hence multi-line)
725-
// * has no assignment
726-
// * has no values in the stanza (within {})
727-
//
724+
// - has no lead comments (hence multi-line)
725+
// - has no assignment
726+
// - has no values in the stanza (within {})
728727
func (p *printer) isSingleLineObject(val *ast.ObjectItem) bool {
729728
// If there is a lead comment, can't be one line
730729
if val.LeadComment != nil {

0 commit comments

Comments
 (0)