Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/jfrog/jfrog-cli-core into im…
Browse files Browse the repository at this point in the history
…prove-graph
  • Loading branch information
sverdlov93 committed Aug 30, 2023
2 parents e10a734 + 4abdfd4 commit 14f1f37
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion utils/coreutils/techutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ var technologiesData = map[Technology]TechData{
Nuget: {
indicators: []string{".sln", ".csproj"},
formal: "NuGet",
// .NET CLI is used for NuGet projects
execCommand: "dotnet",
packageInstallationCommand: "add",
// packageName -v packageVersion
packageVersionOperator: " -v ",
},
Dotnet: {
indicators: []string{".sln", ".csproj"},
Expand Down Expand Up @@ -155,7 +160,7 @@ func (tech Technology) IsCiSetup() bool {
return technologiesData[tech].ciSetupSupport
}

func (tech Technology) GetPackageOperator() string {
func (tech Technology) GetPackageVersionOperator() string {
return technologiesData[tech].packageVersionOperator
}

Expand Down

0 comments on commit 14f1f37

Please sign in to comment.