commands/image.go
Method ImageCommand.Execute
has 89 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (cmd ImageCommand) Execute(ctx context.Context, client service.ISlackClient, event slackevents.AppMentionEvent) (err error) {
help := bytes.NewBuffer(nil)
unsafe := false
verbose := false
Method ImageCommand.Execute
has 7 return statements (exceeds 4 allowed). Open
Open
func (cmd ImageCommand) Execute(ctx context.Context, client service.ISlackClient, event slackevents.AppMentionEvent) (err error) {
help := bytes.NewBuffer(nil)
unsafe := false
verbose := false