Skip to content

Commit

Permalink
Remove nolint comment in favour of formatting long function accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwoodward committed Oct 5, 2021
1 parent 0e93149 commit ac736b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions output/csv/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ func ParseArg(arg string, logger *logrus.Logger) (Config, error) {

// GetConsolidatedConfig combines {default config values + JSON config +
// environment vars + arg config values}, and returns the final result.
//nolint: lll
func GetConsolidatedConfig(jsonRawConf json.RawMessage, env map[string]string, arg string, logger *logrus.Logger) (Config, error) {
func GetConsolidatedConfig(
jsonRawConf json.RawMessage, env map[string]string, arg string, logger *logrus.Logger,
) (Config, error) {
result := NewConfig()
if jsonRawConf != nil {
jsonConf := Config{}
Expand Down

0 comments on commit ac736b0

Please sign in to comment.