Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 76ab7d2

Browse files
enhance: close the popup after cancel the clone progress manually (#1012)
Signed-off-by: leo <longshuang@msn.cn>
1 parent 5128ad4 commit 76ab7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/ViewModels/Clone.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public override Task<bool> Sure()
108108
var cmd = new Commands.Clone(_pageId, _parentFolder, _remote, _local, _useSSH ? _sshKey : "", _extraArgs, SetProgressDescription);
109109
cmd.CancellationToken = _cancellation.Token;
110110
if (!cmd.Exec())
111-
return false;
111+
return _cancellation.IsCancellationRequested;
112112

113113
var path = _parentFolder;
114114
if (!string.IsNullOrEmpty(_local))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /