Merge pull request #48 from runner-mei/patch-4

auto locate go path on the windows
This commit is contained in:
Peter Boyer 2016-10-04 22:13:59 -04:00 committed by GitHub
commit bb9a08b158
1 changed files with 4 additions and 0 deletions

View File

@ -500,6 +500,10 @@ public abstract class BaseTest {
if (candidate.exists()) {
return candidate.getPath();
}
candidate = new File(new File(path), tool+".exe");
if (candidate.exists()) {
return candidate.getPath();
}
}
return null;
}