Skip to content

Commit

Permalink
chore: remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinPJK committed Nov 7, 2024
1 parent 3ee7d12 commit 885ea70
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/variablefinders/requirements.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ func GetSettings(g gitclient.Interface, jxClient jxc.Interface, ns, dir, owner,
}
}
combinedConfigFiles := []string{"/" + jxcore.RequirementsConfigFileName, sourceconfigs.SourceConfigFile}
if len(combinedConfigFiles) == 0 {
return nil, "", errors.New("combined config files are empty")
}
clusterDir, err := requirements.PartialCloneClusterRepo(g, gitURL, true, combinedConfigFiles...)
if err != nil {
return nil, "", err
Expand Down

0 comments on commit 885ea70

Please sign in to comment.