Skip to content

Commit

Permalink
block yarn auto install
Browse files Browse the repository at this point in the history
  • Loading branch information
eranturgeman committed Nov 2, 2023
1 parent 2dd4e2c commit b109c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/scandetails.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (sc *ScanDetails) RunInstallAndAudit(workDirs ...string) (auditResults *aud

func (sc *ScanDetails) runInstallIfNeeded(workDir string) (err error) {
// A temporary barrier until all the 'install' logic is relocated from frogbot, at which point this code will become obsolete
if sc.InstallCommandName == "npm" {
if sc.InstallCommandName == "npm" || sc.InstallCommandName == "yarn" {
return nil
}

Expand Down

0 comments on commit b109c96

Please sign in to comment.