Add LibraryContainer tests
This commit is contained in:
parent
c674bc329c
commit
0cfe09a4fb
5 changed files with 264 additions and 7 deletions
|
|
@ -224,7 +224,7 @@ namespace MatterHackers.MatterControl.Library
|
|||
incrementedFilePath = Path.Combine(this.fullPath, $"{fileName} ({foundCount++}){fileExtension}");
|
||||
|
||||
// Continue incrementing while any matching file exists
|
||||
} while (Directory.GetFiles(incrementedFilePath).Any());
|
||||
} while (File.Exists(incrementedFilePath));
|
||||
|
||||
return incrementedFilePath;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue