dennis-tra/alfred-dict.cc-workflow

View on GitHub

Showing 1 of 1 total issue

Method Dictcc.HandleQuery has 52 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (dcc *Dictcc) HandleQuery(args []string) {
    // Try to parse language arguments from the user and merge them with preferences struct
    // args will be stripped by the language arguments and will only contain the translation query
    args = dcc.Preferences.Parse(args)

Severity: Minor
Found in workflow/workflow.go - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language