Merge pull request #30486 from neikeq/fix-indexoutofbounds-msbuildfinder

Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindows
This commit is contained in:
Ignacio Roldán Etcheverry 2019-07-10 21:43:17 +02:00 committed by GitHub
commit c3da4f854d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ namespace GodotTools.Build
if (outputArray.Count == 0)
return string.Empty;
var lines = outputArray[1].Split('\n');
var lines = outputArray[0].Split('\n');
foreach (string line in lines)
{