mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 13:14:59 +00: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…
Add table
Add a link
Reference in a new issue