Skip to content

Commit e9f8613

Browse files
committed
Update stuff
1 parent 030e808 commit e9f8613

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ require (
5252
require (
5353
4d63.com/gocheckcompilerdirectives v1.3.0 // indirect
5454
4d63.com/gochecknoglobals v0.2.2 // indirect
55+
codeberg.org/chavacava/garif v0.2.0 // indirect
5556
connectrpc.com/connect v1.18.1 // indirect
5657
github.com/4meepo/tagalign v1.4.2 // indirect
5758
github.com/Abirdcfly/dupword v0.1.3 // indirect
@@ -112,7 +113,6 @@ require (
112113
github.com/charmbracelet/x/ansi v0.10.1 // indirect
113114
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
114115
github.com/charmbracelet/x/term v0.2.1 // indirect
115-
github.com/chavacava/garif v0.1.0 // indirect
116116
github.com/ckaznocha/intrange v0.3.0 // indirect
117117
github.com/codeclysm/extract/v4 v4.0.0 // indirect
118118
github.com/coreos/go-oidc/v3 v3.15.0 // indirect
@@ -203,7 +203,7 @@ require (
203203
github.com/mattn/go-colorable v0.1.14 // indirect
204204
github.com/mattn/go-runewidth v0.0.16 // indirect
205205
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
206-
github.com/mgechev/revive v1.7.0 // indirect
206+
github.com/mgechev/revive v1.11.0 // indirect
207207
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
208208
github.com/mikelolasagasti/xz v1.0.1 // indirect
209209
github.com/minio/minlz v1.0.1 // indirect

go.sum

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/boxcli/auth.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,13 @@ func authNewTokenCommand() *cobra.Command {
152152
ux.Fsuccessf(cmd.OutOrStdout(), "Token created.\n\n")
153153
table := tablewriter.NewWriter(cmd.OutOrStdout())
154154
// Row lines are configured through the renderer in the new API
155-
table.Bulk([][]string{
155+
if err := table.Bulk([][]string{
156156
{"Token ID", pat.GetToken().GetId()},
157157
{"Secret", pat.GetToken().GetSecret()},
158-
})
159-
table.Render()
160-
return nil
158+
}); err != nil {
159+
return err
160+
}
161+
return table.Render()
161162
},
162163
}
163164

vendor-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sha256-0lDPK9InxoQzndmQvhKCYvqEt2NL2A+rt3sGg+o1HTY=
1+
sha256-E6iva0+jBz7noZGoQltkRk5VGCHGUySeWCTNEs1b02U=

0 commit comments

Comments
 (0)