Remove else block
This commit is contained in:
parent
30fcddeccb
commit
b373fbbe44
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue