Skip to content

Commit

Permalink
[MINOR] Check docker-connector and orbstack only for macos (#3743)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

as title

### Why are the changes needed?

Avoid printing abnormal log when building on windows

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

minor fix
  • Loading branch information
wForget authored Jun 4, 2024
1 parent d956746 commit 582647e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ fun printMacDockerTip() {
}

fun checkMacDockerConnector() {
if (OperatingSystem.current().isLinux()) {
// Linux does not require the use of `docker-connector`
if (!OperatingSystem.current().isMacOsX()) {
// Only MacOs requires the use of `docker-connector`
return
}

Expand Down Expand Up @@ -764,7 +764,7 @@ fun checkDockerStatus() {
}

fun checkOrbStackStatus() {
if (OperatingSystem.current().isLinux()) {
if (!OperatingSystem.current().isMacOsX()) {
return
}

Expand Down

0 comments on commit 582647e

Please sign in to comment.