Fix IndexOutOfBounds in FindMsBuildToolsPathOnWindows

This commit is contained in:
Ignacio Etcheverry 2019-07-10 13:30:03 +02:00
parent 0b69be91d5
commit ace0c6ce38

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)
{