We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dfc2e0 commit a2c7d89Copy full SHA for a2c7d89
.golangci.yml
@@ -129,6 +129,7 @@ linters-settings:
129
excludes:
130
- G304
131
- G204
132
+ - G115
133
134
stylecheck:
135
# TODO: enable ST1000 (at least one file in a package should have a package comment)
internal/engine/command/command.go
@@ -122,7 +122,7 @@ func (cmd *Command) AddHelpSubCommand() {
122
Help: fmt.Sprintf("Help for %v command", cmd.Name),
123
AppIDs: entity.AllAppIDs(),
124
Handler: func(_ *entity.User, _ *Command, _ map[string]string) CommandResult {
125
- return cmd.SuccessfulResult(cmd.HelpMessage())
+ return cmd.SuccessfulResult(cmd.HelpMessage()) //nolint
126
},
127
}
128
0 commit comments