mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 10:22:13 +08:00
fix: prevent executing an executable file with the same name as the directory
This commit is contained in:
@@ -183,6 +183,7 @@ namespace SourceGit.Native
|
||||
else
|
||||
{
|
||||
fullpath = new DirectoryInfo(path!).FullName;
|
||||
fullpath += Path.DirectorySeparatorChar;
|
||||
}
|
||||
|
||||
if (select)
|
||||
|
||||
Reference in New Issue
Block a user