sascha-andres/go-template

View on GitHub
new_handle_replacements.go

Summary

Maintainability
A
45 mins
Test Coverage

Method Engine.handleReplacements has 7 return statements (exceeds 4 allowed).
Open

func (e *Engine) handleReplacements(replacements FromToInformation, workingDirectory, name string, arguments map[string]string) {
    if e.err != nil {
        return
    }
    localTo, err := applyVariables(replacements.To, name, arguments)
Severity: Major
Found in new_handle_replacements.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status