Skip to content

Commit

Permalink
fix(minikube): fix incorrect error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Aug 20, 2019
1 parent e8bd480 commit 1f8e96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/plugins/kubernetes/local/minikube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ((<execa.ExecaError>err).stderr.includes("driver does not support")) {
return
}
throw err
Expand Down

0 comments on commit 1f8e96b

Please sign in to comment.