Skip to content

Remove redundant invocation of trivy version command

Sashi Kumar Kumaresan requested to merge sk/fix-twice-trivy-version into master

Currently, trivy --version command is called twice to print the version_info in logs:

$ gtcs scan
[INFO] [2021-06-10 05:35:49 +0000] []  ▶  trivy --version
[INFO] [2021-06-10 05:35:49 +0000] []  ▶  trivy --version

This MR fixes it by calling only once.

Merge request reports

Loading