Minor lint cleanups

Wasn't sure about the unused variable: `var defaultIssue = &JiraIssue{}`
let me know if that needs to stay there for some reason.  I built and
installed `jkl` and quick tests show things appear to still be working.
This commit is contained in:
Gabriel Guzman 2017-10-30 14:06:53 -04:00
parent 1458b63287
commit 9bb208ddf1

View file

@ -80,7 +80,7 @@ func getCmd(args []string, depth int) (Runner, error) {
}
args[0], args[1] = args[1], args[0]
return getCmd(args, depth+1)
} else {
}
// Swapping the first two args didn't help;
// this means it's a transition.
@ -88,11 +88,11 @@ func getCmd(args []string, depth int) (Runner, error) {
// if err != nil {return nil, err}
// return tcmd, nil
}
}
return nil, ErrTaskSubCommandNotFound
}
var verbs = []string{"list", "create", "task", "edit", "comment", "edit-comment"}
func init() {
sort.Strings(verbs)
}