diff --git a/garden-service/src/plugins/kubernetes/local/minikube.ts b/garden-service/src/plugins/kubernetes/local/minikube.ts index fdb5008677..4ffd41c9d9 100644 --- a/garden-service/src/plugins/kubernetes/local/minikube.ts +++ b/garden-service/src/plugins/kubernetes/local/minikube.ts @@ -18,7 +18,7 @@ export async function setMinikubeDockerEnv() { try { minikubeEnv = await execa.stdout("minikube", ["docker-env", "--shell=bash"]) } catch (err) { - if (err.contains("driver does not support")) { + if ((err).stderr.includes("driver does not support")) { return } throw err