mirror of
https://github.com/desktop/desktop
synced 2024-09-18 07:32:01 +00:00
Clean up now unneeded null check
This commit is contained in:
parent
85463f8f5f
commit
28684b030c
|
@ -3482,12 +3482,6 @@ export class Dispatcher {
|
|||
count,
|
||||
mcos
|
||||
)
|
||||
if (banner === null) {
|
||||
log.error(
|
||||
'[completeMultiCommitOperation] - No multi commit operation to complete.'
|
||||
)
|
||||
return
|
||||
}
|
||||
|
||||
this.setBanner(banner)
|
||||
|
||||
|
@ -3509,7 +3503,7 @@ export class Dispatcher {
|
|||
repository: Repository,
|
||||
count: number,
|
||||
mcos: IMultiCommitOperationState
|
||||
): Banner | null {
|
||||
): Banner {
|
||||
const {
|
||||
operationDetail: { kind },
|
||||
targetBranch,
|
||||
|
|
Loading…
Reference in a new issue