Skip to content

Commit

Permalink
fix: quiet the output of which in installRequirements
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Mitchell <nickm@us.ibm.com>
  • Loading branch information
starpit committed Nov 27, 2024
1 parent dc971b8 commit 9344823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/runtime/needs/install_requirements.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func requirementsInstall(ctx context.Context, version, requirements string, verb

cmdline := fmt.Sprintf(`python%s -m venv %s
source %s/bin/activate
if ! which pip%s; then python%s -m pip install pip %s; fi
if ! which pip%s > /dev/null; then python%s -m pip install pip %s; fi
pip%s install %s %s -r %s %s 1>&2`, version, venvPath, venvPath, version, version, verboseFlag, version, nocache, quiet, reqmtsFile.Name(), verboseFlag)

cmd := exec.CommandContext(ctx, "/bin/bash", "-c", cmdline)
Expand Down

0 comments on commit 9344823

Please sign in to comment.