pkg/cli/get/resources/getter.go
Method vcsAndLocalFSGetter.GetLocalResources
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (g *vcsAndLocalFSGetter) GetLocalResources(source string, resources []string, destination string,
subfolder string, recursively bool, resourceType constants.ResourceType) error {
Method vcsAndLocalFSGetter.GetRemoteResources
has 6 return statements (exceeds 4 allowed). Open
Open
func (g *vcsAndLocalFSGetter) GetRemoteResources(destination string, subfolder string,
entries []common.RemoteSource) error {
// Create the temporary directory for where to clone all the remote resources.
tempResourcesDir, err := g.FSUtil.TempDir("", "opencontrol-resources")
if err != nil {