Skip to content

Commit

Permalink
fprint
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Jan 24, 2025
1 parent f4964c5 commit fbfa008
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ linters-settings:
- (*github.com/spf13/pflag.FlagSet).MarkHidden
- (*github.com/spf13/pflag.FlagSet).MarkDeprecated
- fmt.Fprintln
- fmt.Fprint
sloglint:
no-mixed-args: true
key-naming-case: camel
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ func (o *packageListOptions) run(ctx context.Context) error {
if err != nil {
return err
}
fmt.Fprintln(o.outputWriter, string(output))
fmt.Fprint(o.outputWriter, string(output))
case "table":
header := []string{"Package", "Version", "Components"}
var packageData [][]string
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/zarf_tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func printCredentialTable(state *types.ZarfState, outputFormat outputFormat, out
if err != nil {
return err
}
fmt.Fprintln(out, string(output))
fmt.Fprint(out, string(output))
case outputTable:
header := []string{"Application", "Username", "Password", "Connect", "Get-Creds Key"}
var tableData [][]string
Expand Down

0 comments on commit fbfa008

Please sign in to comment.