mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-23 19:26:57 -04:00
Remove default cap on MakeUniqueFilePath
This commit is contained in:
parent
3db29b520c
commit
d78c10ebb7
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace DiscordChatExporter.Domain.Internal
|
|||
|
||||
public static string EscapePath(string path) => EscapePath(new StringBuilder(path)).ToString();
|
||||
|
||||
public static string MakeUniqueFilePath(string baseFilePath, int maxAttempts = 100)
|
||||
public static string MakeUniqueFilePath(string baseFilePath, int maxAttempts = int.MaxValue)
|
||||
{
|
||||
if (!File.Exists(baseFilePath))
|
||||
return baseFilePath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue