tulir/gomuks

View on GitHub
lib/notification/notify_darwin.go

Summary

Maintainability
A
40 mins
Test Coverage

Function Send has 6 return statements (exceeds 4 allowed).
Open

func Send(title, text string, critical, sound bool) error {
    if terminalNotifierAvailable {
        args := []string{"-title", "gomuks", "-subtitle", title, "-message", text}
        if critical {
            args = append(args, "-timeout", "15")
Severity: Major
Found in lib/notification/notify_darwin.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status