mirror of https://github.com/ppy/osu
FirstOrDefault
This commit is contained in:
parent
104c25266d
commit
7e89b1021d
|
@ -34,7 +34,7 @@ public static int Main(string[] args)
|
|||
}
|
||||
else
|
||||
{
|
||||
switch (args.First() ?? string.Empty)
|
||||
switch (args.FirstOrDefault() ?? string.Empty)
|
||||
{
|
||||
case "--tests":
|
||||
host.Run(new OsuTestBrowser());
|
||||
|
|
Loading…
Reference in New Issue