kubenetworks/kubevpn

View on GitHub
pkg/syncthing/gui.go

Summary

Maintainability
A
55 mins
Test Coverage

Function ExtractSyncthingGUIZipToDir has 9 return statements (exceeds 4 allowed).
Open

func ExtractSyncthingGUIZipToDir(fs embed.FS, zipPath, targetDir string) error {
    zipData, err := fs.Open(zipPath)
    if err != nil {
        return err
    }
Severity: Major
Found in pkg/syncthing/gui.go - About 55 mins to fix

    There are no issues that match your filters.

    Category
    Status