Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/cli/snapshot_publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ func publishSnapshot(ctx context.Context, snap *snapshot.Snapshot, explicitSlug
var configName, configDesc, visibility string
if targetSlug != "" {
fmt.Fprintln(os.Stderr)
ui.Info(fmt.Sprintf("Publishing to @%s/%s (updating)", stored.Username, targetSlug))
fmt.Fprintf(os.Stderr, " Publishing to @%s/%s (updating)\n", stored.Username, targetSlug)
} else {
fmt.Fprintln(os.Stderr)
ui.Info("Publishing as a new config on openboot.dev")
fmt.Fprintln(os.Stderr, " Publishing as a new config on openboot.dev")
configName, configDesc, visibility, err = promptPushDetails("")
if err != nil {
return err
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/publish_import_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ func runBinary(t *testing.T, binary string, env []string, args ...string) (stdou
var outBuf, errBuf strings.Builder
cmd.Stdout = &outBuf
cmd.Stderr = &errBuf
return outBuf.String(), errBuf.String(), cmd.Run()
err = cmd.Run()
return outBuf.String(), errBuf.String(), err
}

// ── tests ─────────────────────────────────────────────────────────────────────
Expand Down
Loading