Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit 0eae78e

Browse files
committed
Update LogPanel.cs
1 parent a07ead2 commit 0eae78e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/UI/Panels/LogPanel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ private void SetupIO()
7777

7878
var fileName = $"UnityExplorer {DateTime.Now:u}.txt";
7979
fileName = IOUtility.EnsureValidFilename(fileName);
80-
fileName = IOUtility.EnsureValidFilePath(fileName);
8180

82-
CurrentStreamPath = Path.Combine(path, fileName);
81+
CurrentStreamPath = IOUtility.EnsureValidFilePath(Path.Combine(path, fileName));
8382

8483
File.WriteAllLines(CurrentStreamPath, Logs.Select(it => it.message).ToArray());
8584
}

0 commit comments

Comments
 (0)