Skip to content

Commit bcd8d8a

Browse files
hakhandelwal11hakhandelwal11
authored andcommitted
fix: add unit test
1 parent 5177258 commit bcd8d8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cmd/hello/steps.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func doBrevShellOnboarding(
242242
if err1 != nil {
243243
return breverrors.WrapAndTrace(err1)
244244
}
245-
if res.HasRunBrevShell {
245+
if shellOnboardingPollDone(res) {
246246
spinner.Suffix = spinnerSuffix
247247
time.Sleep(250 * time.Millisecond)
248248
spinner.Stop()
@@ -298,7 +298,7 @@ func doVsCodeOnboarding(
298298
if err1 != nil {
299299
return breverrors.WrapAndTrace(err1)
300300
}
301-
if shellOnboardingPollDone(res) {
301+
if res.HasRunBrevOpen {
302302
spinner.Suffix = spinnerSuffix
303303
time.Sleep(250 * time.Millisecond)
304304
spinner.Stop()

0 commit comments

Comments
 (0)