Skip to content

Commit

Permalink
attempt to fix mysterious CI failing II
Browse files Browse the repository at this point in the history
  • Loading branch information
Sholtee committed Jul 17, 2020
1 parent e40e6f8 commit 54950ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SRC/RPC.Server/Private/Hosting/InstallHostRunner_WinNT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
********************************************************************************/
using System;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
Expand Down Expand Up @@ -46,7 +47,7 @@ internal InstallHostRunner_WinNT(IHost host, string[] args): base(host)
Install = ArgSet("-install");
Uninstall = ArgSet("-uninstall");

bool ArgSet(string name) => args.Any(arg => arg?.ToLower(Resources.Culture) == name);
bool ArgSet(string name) => args.Any(arg => arg.ToLower(Resources.Culture ?? CultureInfo.CurrentCulture) == name);
}

public override void Start()
Expand Down

0 comments on commit 54950ea

Please sign in to comment.