Kerrigan29a/recipe

View on GitHub
task_windows.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Task.Terminate has 5 return statements (exceeds 4 allowed).
Open

func (t *Task) Terminate() error {
    cmd := t.cmd
    if cmd == nil {
        return nil
    }
Severity: Major
Found in task_windows.go - About 35 mins to fix

    TODO found
    Open

        // TODO: Use a better way. Probably using https://github.com/alexbrainman/ps
    Severity: Minor
    Found in task_windows.go by fixme

    Your code does not pass gofmt in 1 place. Go fmt your code!
    Open

    // +build windows
    Severity: Minor
    Found in task_windows.go by gofmt

    exported method Task.Terminate should have comment or be unexported
    Open

    func (t *Task) Terminate() error {
    Severity: Minor
    Found in task_windows.go by golint

    There are no issues that match your filters.

    Category
    Status