mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
fix: prevent executing an executable file with the same name as the directory
This commit is contained in:
parent
323dc2e87f
commit
fd7bc8b122
1 changed files with 1 additions and 0 deletions
|
@ -183,6 +183,7 @@ namespace SourceGit.Native
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fullpath = new DirectoryInfo(path!).FullName;
|
fullpath = new DirectoryInfo(path!).FullName;
|
||||||
|
fullpath += Path.DirectorySeparatorChar;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (select)
|
if (select)
|
||||||
|
|
Loading…
Reference in a new issue