We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d987653 commit f0d8285Copy full SHA for f0d8285
src/Models/Remote.cs
@@ -50,7 +50,7 @@ public static bool IsValidURL(string url)
50
return true;
51
}
52
53
- return Directory.Exists(url);
+ return url.EndsWith(".git", StringComparison.Ordinal) && Directory.Exists(url);
54
55
56
public bool TryGetVisitURL(out string url)
0 commit comments