chore: pin GH commits and switch to golangci-lint (#4444)
* chore: pin GH commits * switch to golangci-lint-action * fix lint issues
This commit is contained in:
+1
-4
@@ -198,10 +198,7 @@ func getConfig(c *cli.Command) (*config.Config, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
strictMode := true
|
||||
if c.Bool("disable-strict-config") {
|
||||
strictMode = false
|
||||
}
|
||||
strictMode := !c.Bool("disable-strict-config")
|
||||
|
||||
conf, err := config.NewConfig(confString, strictMode, c, baseFlags)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user