Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 98a843b

Browse files
Merge pull request #2322 from github/clone-error
Fixing the error with the clone button
2 parents 285c8a5 + 6d7dfd4 commit 98a843b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.App/ViewModels/Dialog/Clone/RepositoryCloneViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public RepositoryCloneViewModel(
6868
var canClone = Observable.CombineLatest(
6969
repository, this.WhenAnyValue(x => x.Path),
7070
(repo, path) => repo != null && !service.DestinationFileExists(path) &&
71-
(!service.DestinationDirectoryExists(path)) || service.DestinationDirectoryEmpty(path));
71+
(!service.DestinationDirectoryExists(path) || service.DestinationDirectoryEmpty(path)));
7272

7373
var canOpen = Observable.CombineLatest(
7474
repository, this.WhenAnyValue(x => x.Path),

0 commit comments

Comments
 (0)