Skip to content

Commit

Permalink
Merge pull request #14 from pavel-github/fix/detect-macos-agents
Browse files Browse the repository at this point in the history
fix: improve platform detection on MacOS agents
  • Loading branch information
adrukh authored Jun 15, 2019
2 parents b4eb0c4 + c6980f6 commit de8f12a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ String getReportMapperPath() {

private Platform detectAgentPlatform() {
BuildAgentSystemInfo buildAgentSystemInfo = getAgentConfiguration().getSystemInfo();
if (buildAgentSystemInfo.isUnix()) {
if (buildAgentSystemInfo.isUnix() && !buildAgentSystemInfo.isMac()) {
return Platform.LINUX;
} else if (buildAgentSystemInfo.isMac()) {
return Platform.MAC_OS;
Expand Down

0 comments on commit de8f12a

Please sign in to comment.