Skip to content

Commit 277b8e2

Browse files
authored
Fixing and documenting skip-auto-install for python PMs (jfrog#401)
1 parent 760eef8 commit 277b8e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

commands/audit/sca/python/python.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ func getDependencies(params utils.AuditParams, technology techutils.Technology)
101101
if err != nil {
102102
return
103103
}
104+
} else {
105+
log.Debug(fmt.Sprintf("JF_SKIP_AUTO_INSTALL was set to 'true' with one of the following technologies: %s, %s. Skipping installation...\n"+
106+
"NOTE: in this case all dependencies must be manually pre-installed by the user", techutils.Pip, techutils.Poetry))
104107
}
105108

106109
localDependenciesPath, err := config.GetJfrogDependenciesPath()

0 commit comments

Comments
 (0)