Merge pull request #13989 from Henry-YSLin/fix-launch-args-parsing

Guard against `IndexOutOfRangeException` when parsing launch arguments
This commit is contained in:
Dean Herbert 2021-07-23 12:14:23 +09:00 committed by GitHub
commit befab14a86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public static int Main(string[] args)
var split = arg.Split('=');
var key = split[0];
var val = split[1];
var val = split.Length > 1 ? split[1] : string.Empty;
switch (key)
{