Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 8f41ecd

Browse files
committed
removed the variable
1 parent f011623 commit 8f41ecd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,9 @@ private static void Initialize()
3434

3535
// this will initialize ApplicationManager and Environment if they haven't yet
3636
var logPath = Environment.LogPath;
37-
var logInfo = "";
3837

3938
if (ApplicationCache.Instance.FirstRun)
4039
{
41-
logInfo += "Initialized GitHub for Unity version " + ApplicationInfo.Version;
42-
4340
var oldLogPath = logPath.Parent.Combine(logPath.FileNameWithoutExtension + "-old" + logPath.ExtensionWithDot);
4441
try
4542
{
@@ -54,8 +51,7 @@ private static void Initialize()
5451
Logging.Error(ex, "Error rotating log files");
5552
}
5653

57-
logInfo += " and Unity log file: " + logPath;
58-
Debug.Log(logInfo);
54+
Debug.Log("Initialized GitHub for Unity version " + ApplicationInfo.Version + " and Unity log file: " + logPath);
5955
}
6056
Logging.LogAdapter = new FileLogAdapter(logPath);
6157
Logging.Info("Initializing GitHub for Unity version " + ApplicationInfo.Version);

0 commit comments

Comments
 (0)