Skip to content

Commit

Permalink
Fixed stupid logging bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tig committed Apr 19, 2020
1 parent e0b7f33 commit 0e2b7c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Installer/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.4.621
2.2.4.623
2 changes: 1 addition & 1 deletion src/Services/UpdateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ private async Task GetLatestStableVersionAsync() {
#endif
//Logger.Instance.Log4.Debug($"Releases {JsonSerializer.Serialize(releases, options: new JsonSerializerOptions() { WriteIndented = true })}");
if (releases.Length > 0) {
Logger.Instance.Log4.Info("The latest release is tagged at {releases[0].TagName} and is named {releases[0].Name}. Download Url: {releases[0].Assets[0].BrowserDownloadUrl}");
///Logger.Instance.Log4.Info("The latest release is tagged at {releases[0].TagName} and is named {releases[0].Name}. Download Url: {releases[0].Assets[0].BrowserDownloadUrl}");

LatestStableVersion = new Version(releases[0].TagName.Replace('v', ' '));
ReleasePageUri = new Uri(releases[0].HtmlUrl);
Expand Down

0 comments on commit 0e2b7c3

Please sign in to comment.