Remove else block

This commit is contained in:
JP Ungaretti 2022-10-09 01:00:14 +00:00
parent 30fcddeccb
commit b373fbbe44

View file

@ -132,9 +132,9 @@ func (s *Session) Rebuild(ctx context.Context) error {
if !rebuildSuccess {
return fmt.Errorf("couldn't rebuild codespace")
} else {
return nil
}
return nil
}
// heartbeat runs until context cancellation, periodically checking whether there is a