SUSE/saptune

View on GitHub
system/argsAndFlags.go

Summary

Maintainability
A
40 mins
Test Coverage
B
80%

Consider simplifying this complex logical expression.
Open

    if len(os.Args) < cmdLinePos["cmdOpt"]+1 || (!IsFlagSet("force") && !IsFlagSet("dryrun") && !IsFlagSet("colorscheme") && !IsFlagSet("show-non-compliant") && !IsFlagSet("non-compliance-check")) {
Severity: Major
Found in system/argsAndFlags.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status