You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/common.go
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,9 @@ func initBinaries() {
38
38
fmt.Println("hover: Failed to lookup `go` and `docker` executable. Please install one of them:\nGo: https://golang.org/doc/install\nDocker: https://docs.docker.com/install")
39
39
os.Exit(1)
40
40
}
41
-
ifdockerAvailable&&!goAvailable {
42
-
fmt.Println("hover: Using Docker instead of go for compiling, because looking up `go` executable failed.")
43
-
buildDocker=true
41
+
ifdockerAvailable&&!goAvailable&&!buildDocker{
42
+
fmt.Println("hover: Failed to lookup `go` executable. Please install go or add '--docker' to force running in Docker container.\nhttps://golang.org/doc/install")
0 commit comments