mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 06:44:10 +02:00
Fixed issue manually adding project in same directory as workspace
This commit is contained in:
parent
b1f526dcad
commit
9560a8de88
1 changed files with 2 additions and 0 deletions
|
@ -2122,6 +2122,8 @@ namespace IDE
|
||||||
int lastSlash = relPath.LastIndexOf('/');
|
int lastSlash = relPath.LastIndexOf('/');
|
||||||
if (lastSlash != -1)
|
if (lastSlash != -1)
|
||||||
relPath.RemoveToEnd(lastSlash);
|
relPath.RemoveToEnd(lastSlash);
|
||||||
|
else
|
||||||
|
relPath.Set(".");
|
||||||
|
|
||||||
/*var endStr = "/BeefProj.toml";
|
/*var endStr = "/BeefProj.toml";
|
||||||
if (relPath.EndsWith(endStr))
|
if (relPath.EndsWith(endStr))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue