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

Commit

Permalink
Fix log variable substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Jun 8, 2022
1 parent 802efbf commit d20cbbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Squirrel.CommandLine/ConsoleLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class ConsoleLogger : ILogger

private readonly object gate = new object();

private readonly string localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
private readonly string localTemp = Path.GetTempPath();
private readonly string localAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData).TrimEnd('/', '\\');
private readonly string localTemp = Path.GetTempPath().TrimEnd('/', '\\');

public void Write(string message, LogLevel logLevel)
{
Expand Down

0 comments on commit d20cbbe

Please sign in to comment.