Skip to content

Commit b1e5c28

Browse files
Apply suggestion from @DanielleMaywood
Co-authored-by: Danielle Maywood <[email protected]>
1 parent 2fe8d2e commit b1e5c28

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

e2e/echo.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ func runEchoAgent(scriptPath string) {
135135
spinnerCtx, spinnerCancel := context.WithCancel(ctx)
136136
go runSpinner(spinnerCtx)
137137
time.Sleep(time.Duration(entry.ThinkDurationMS) * time.Millisecond)
138-
if spinnerCancel != nil {
139-
spinnerCancel()
140-
}
138+
spinnerCancel()
141139
}
142140

143141
messages = append(messages, st.ConversationMessage{

0 commit comments

Comments
 (0)