Skip to content

Commit c33611e

Browse files
committed
Removed redundant nil
1 parent 987c3d4 commit c33611e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodeEdit/Features/SourceControl/Views/SourceControlStashView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ struct SourceControlStashView: View {
8989
|| sourceControlManager.switchToBranch != nil {
9090
if sourceControlManager.pullSheetIsPresented {
9191
try await sourceControlManager.pull(
92-
remote: sourceControlManager.operationRemote?.name ?? nil,
93-
branch: sourceControlManager.operationBranch?.name ?? nil,
92+
remote: sourceControlManager.operationRemote?.name,
93+
branch: sourceControlManager.operationBranch?.name,
9494
rebase: sourceControlManager.operationRebase
9595
)
9696
}

0 commit comments

Comments
 (0)