Skip to content

Commit f8ac639

Browse files
committed
Violated my own rule of using var - only when the type of the variable is obvious to the reader.
1 parent f9eb3e3 commit f8ac639

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices.Host/EditorServicesHost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void StartLogging(string logFilePath, LogLevel logLevel)
8686
FileVersionInfo.GetVersionInfo(this.GetType().Assembly.Location);
8787
#endif
8888

89-
var newLine = Environment.NewLine;
89+
string newLine = Environment.NewLine;
9090

9191
Logger.Write(
9292
LogLevel.Normal,

0 commit comments

Comments
 (0)