Skip to content

Commit 5145fd1

Browse files
authored
Updates outdated command output when latest version (#662)
1 parent 630fd10 commit 5145fd1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dev-proxy/OutdatedCommandHandler.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ public static class OutdatedCommandHandler
77
public static async Task CheckVersion(ILogger logger)
88
{
99
var releaseInfo = await UpdateNotification.CheckForNewVersion(ProxyCommandHandler.Configuration.NewVersionNotification);
10-
logger.LogInformation(releaseInfo?.Version);
10+
if (releaseInfo != null)
11+
{
12+
logger.LogInformation(releaseInfo.Version);
13+
}
1114
}
1215
}
1316

0 commit comments

Comments
 (0)