Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Unhide rebuild and watch-build commands #161

Merged
merged 5 commits into from
Oct 29, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fixup! Unhide rebuild and watch-build commands
  • Loading branch information
cmoog committed Oct 29, 2020
commit 239266ee85d2b67bbb57ba8804d05f6fbe3b2416
4 changes: 2 additions & 2 deletions internal/cmd/rebuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ coder envs rebuild backend-env --force`,
}).Run()
if err != nil {
return clog.Fatal(
"failed to confirm prompt", clog.BlankLine,
"failed to confirm prompt", clog.BlankLine,
clog.Tipf(`use "--force" to rebuild without a confirmation prompt`),
)
}
Expand Down Expand Up @@ -77,7 +77,7 @@ coder envs rebuild backend-env --force`,
func trailBuildLogs(ctx context.Context, client *coder.Client, envID string) error {
const check = "✅"
const failure = "❌"

=
newSpinner := func() *spinner.Spinner { return spinner.New(spinner.CharSets[11], 100*time.Millisecond) }

// this tells us whether to show dynamic loaders when printing output
Expand Down