Fix google chrome env var error message (#68)

This commit is contained in:
Hong Shick Pak
2019-04-25 00:13:10 -07:00
committed by Julien Neuhart
parent 194670c3bf
commit 719287c3a6

View File

@@ -37,7 +37,7 @@ func mustParseEnvVar() *api.Options {
}
if v, ok := os.LookupEnv(disableGoogleChromeEnvVar); ok {
if v != "1" && v != "0" {
notify.ErrPrint(fmt.Errorf("%s: wrong value: want \"0\" or \"1\" got %v", defaultWaitTimeoutEnvVar, v))
notify.ErrPrint(fmt.Errorf("%s: wrong value: want \"0\" or \"1\" got %v", disableGoogleChromeEnvVar, v))
os.Exit(1)
}
opts.EnableChromeEndpoints = v != "1"