FirstOrDefault

This commit is contained in:
Dean Herbert 2017-08-04 15:58:59 +09:00
parent 104c25266d
commit 7e89b1021d

View File

@ -34,7 +34,7 @@ namespace osu.Desktop
}
else
{
switch (args.First() ?? string.Empty)
switch (args.FirstOrDefault() ?? string.Empty)
{
case "--tests":
host.Run(new OsuTestBrowser());