Skip to content

Commit a2c7d89

Browse files
author
mj
committed
chore: update linter configs to prevent some checkup errors
1 parent 7dfc2e0 commit a2c7d89

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ linters-settings:
129129
excludes:
130130
- G304
131131
- G204
132+
- G115
132133

133134
stylecheck:
134135
# TODO: enable ST1000 (at least one file in a package should have a package comment)

internal/engine/command/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (cmd *Command) AddHelpSubCommand() {
122122
Help: fmt.Sprintf("Help for %v command", cmd.Name),
123123
AppIDs: entity.AllAppIDs(),
124124
Handler: func(_ *entity.User, _ *Command, _ map[string]string) CommandResult {
125-
return cmd.SuccessfulResult(cmd.HelpMessage())
125+
return cmd.SuccessfulResult(cmd.HelpMessage()) //nolint
126126
},
127127
}
128128

0 commit comments

Comments
 (0)