diff --git a/core/cmd/app.go b/core/cmd/app.go index 7a0b27a6173..2835368eae7 100644 --- a/core/cmd/app.go +++ b/core/cmd/app.go @@ -80,7 +80,7 @@ func NewApp(client *Client) *cli.App { }, } app.Before = func(c *cli.Context) error { - if c.IsSet("config") || v2.EnvConfig != "" { + if c.IsSet("config") || v2.EnvConfig.Get() != "" { // TOML var opts chainlink.GeneralConfigOpts