Skip to content

Commit

Permalink
Fix config v2 check
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhwarrier authored Feb 20, 2023
1 parent dbe927e commit 1065934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cmd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1065934

Please sign in to comment.