Restore Spinner
This commit is contained in:
+5
-1
@@ -69,6 +69,10 @@ func (s *spinner) start(text string) {
|
||||
s.text = text
|
||||
return
|
||||
}
|
||||
if s.on {
|
||||
s.text = text
|
||||
return
|
||||
}
|
||||
s.on = true
|
||||
s.text = text
|
||||
go s.run()
|
||||
@@ -573,7 +577,7 @@ func runBuildHAKs(ctx context) error {
|
||||
|
||||
console := newBuildHAKConsole(ctx, p, opts)
|
||||
spin.configure(ctx.stderr, console.spinnerEnabled)
|
||||
spin.update("Build HAKs: starting")
|
||||
spin.start("Build HAKs: starting")
|
||||
var result pipeline.BuildResult
|
||||
pipelineOpts := pipeline.BuildHAKOptions{
|
||||
Progress: console.progress,
|
||||
|
||||
Reference in New Issue
Block a user