Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/set-relevant-wd-for-scanners' in…
Browse files Browse the repository at this point in the history
…to set-relevant-wd-for-scanners
  • Loading branch information
omerzi committed Aug 15, 2023
2 parents f23e17d + ac47a49 commit 8d1f76c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions utils/coreutils/techutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,10 @@ var technologiesData = map[Technology]TechData{
applicabilityScannable: true,
},
Yarn: {
indicators: []string{".yarnrc.yml", "yarn.lock", ".yarn"},
packageDescriptor: "package.json",
packageVersionOperator: "@",
packageInstallationCommand: "up",
applicabilityScannable: true,
indicators: []string{".yarnrc.yml", "yarn.lock", ".yarn"},
packageDescriptor: "package.json",
packageVersionOperator: "@",
applicabilityScannable: true,
},
Go: {
indicators: []string{"go.mod"},
Expand Down Expand Up @@ -160,7 +159,7 @@ func (tech Technology) GetPackageOperator() string {
return technologiesData[tech].packageVersionOperator
}

func (tech Technology) GetPackageInstallOperator() string {
func (tech Technology) GetPackageInstallationCommand() string {
return technologiesData[tech].packageInstallationCommand
}

Expand Down

0 comments on commit 8d1f76c

Please sign in to comment.