alexandre-normand/slackscot

View on GitHub
plugins/emojibanner.go

Summary

Maintainability
A
0 mins
Test Coverage
A
90%

Function NewEmojiBannerMaker has 5 return statements (exceeds 4 allowed).
Wontfix

func NewEmojiBannerMaker(c *config.PluginConfig) (toClose io.Closer, emojiBannerPlugin *slackscot.Plugin, err error) {
    emojiBannerRegex := regexp.MustCompile("(?i)(emoji banner) (.*)")

    options := figlet4go.NewRenderOptions()
    renderer := figlet4go.NewAsciiRender()
Severity: Major
Found in plugins/emojibanner.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status