Skip to content

Commit 9bdd8e5

Browse files
committed
fix: remove excess newlines from server startup
1 parent b439c3e commit 9bdd8e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
484484
tunnelDone <-chan struct{} = make(chan struct{}, 1)
485485
)
486486
if cfg.AccessURL.String() == "" {
487-
cliui.Infof(inv.Stderr, "Opening tunnel so workspaces can connect to your deployment. For production scenarios, specify an external access URL\n")
487+
cliui.Infof(inv.Stderr, "Opening tunnel so workspaces can connect to your deployment. For production scenarios, specify an external access URL")
488488
tunnel, err = devtunnel.New(ctx, logger.Named("devtunnel"), cfg.WgtunnelHost.String())
489489
if err != nil {
490490
return xerrors.Errorf("create tunnel: %w", err)
@@ -531,7 +531,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
531531
}
532532

533533
// A newline is added before for visibility in terminal output.
534-
cliui.Infof(inv.Stdout, "\nView the Web UI: %s\n", cfg.AccessURL.String())
534+
cliui.Infof(inv.Stdout, "\nView the Web UI: %s", cfg.AccessURL.String())
535535

536536
// Used for zero-trust instance identity with Google Cloud.
537537
googleTokenValidator, err := idtoken.NewValidator(ctx, option.WithoutAuthentication())

0 commit comments

Comments
 (0)