Skip to content

Commit febc4e1

Browse files
committed
remove useless return code
1 parent 6b20319 commit febc4e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/update/arduino/arduino.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ func (a *ArduinoPlatformUpdater) UpgradePackages(ctx context.Context, names []st
236236

237237
cbw := orchestrator.NewCallbackWriter(func(line string) {
238238
// TODO: add termination
239-
if !yield(update.NewDataEvent(update.UpgradeLineEvent, line)) {
240-
return
241-
}
239+
_ = yield(update.NewDataEvent(update.UpgradeLineEvent, line))
242240
})
243241

244242
err := srv.BurnBootloader(

0 commit comments

Comments
 (0)