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

Commit 8c959e4

Browse files
committed
Added message to assertion.
1 parent 2461062 commit 8c959e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.App/ViewModels/RepositoryCloneViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ IObservable<Unit> OnCloneRepository(object state)
171171

172172
bool IsAlreadyRepoAtPath(string path)
173173
{
174-
Debug.Assert(path != null);
174+
Debug.Assert(path != null, "RepositoryCloneViewModel.IsAlreadyRepoAtPath cannot be passed null as a path paramter.");
175175

176176
bool isAlreadyRepoAtPath = false;
177177

0 commit comments

Comments
 (0)