mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 00:20:25 +02:00
Fixed FileWatcher overflow manual override
This commit is contained in:
parent
07cdbbf142
commit
716ec05394
4 changed files with 51 additions and 5 deletions
|
@ -89,7 +89,7 @@ namespace IDE
|
|||
var newPath;
|
||||
if (isDirectory)
|
||||
{
|
||||
if (newPath.EndsWith(Path.DirectorySeparatorChar))
|
||||
if ((newPath != null) && (newPath.EndsWith(Path.DirectorySeparatorChar)))
|
||||
{
|
||||
newPath = scope:: String();
|
||||
newPath.Append(@newPath, 0, @newPath.Length - 1);
|
||||
|
@ -259,9 +259,9 @@ namespace IDE
|
|||
{
|
||||
String fullPath = scope String();
|
||||
fullPath.Append(fileSystemWatcher.Directory);
|
||||
fullPath.Append(Path.DirectorySeparatorChar);
|
||||
if (fileName != null)
|
||||
{
|
||||
fullPath.Append(Path.DirectorySeparatorChar);
|
||||
fullPath.Append(fileName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue