1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 21:52:56 +08:00

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 else
{ {
switch (args.First() ?? string.Empty) switch (args.FirstOrDefault() ?? string.Empty)
{ {
case "--tests": case "--tests":
host.Run(new OsuTestBrowser()); host.Run(new OsuTestBrowser());