vorteil/direktiv

View on GitHub
cmd/exec/cli/uploader.go

Summary

Maintainability
A
40 mins
Test Coverage

Method uploader.createFileItem has 6 return statements (exceeds 4 allowed).
Open

func (u *uploader) createFileItem(path, method string, obj fileObject) error {
    parent := path
    parent = strings.ReplaceAll(parent, "\\", "/")

    if method == "POST" {
Severity: Major
Found in cmd/exec/cli/uploader.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status