Skip to content

Commit 0a9aa6e

Browse files
authored
Update module.yaml
Signed-off-by: stlef14 <stlef14@users.noreply.github.com>
1 parent 4bd7c81 commit 0a9aa6e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scanners/boostsecurityio/trivy-sbom/module.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,27 @@ steps:
4343
fi
4444
4545
# Create temporary solution to merge all projects
46-
dotnet new sln -n $TEMP_SOLN_FILE --force >/dev/null 2>&1 || true
46+
dotnet new sln -n $TEMP_SOLN_FILE --force || true
4747
4848
# Add all found .csproj files to the solution
4949
echo "$PROJECT_LIST" | while IFS= read -r proj; do
50-
[ -n "$proj" ] && dotnet sln $SCAN_TARGET add "$proj" >/dev/null 2>&1 || true
50+
[ -n "$proj" ] && dotnet sln $SCAN_TARGET add "$proj" || true
5151
done
5252
5353
# Restore packages while ignoring errors.
5454
if [ -n "$SCAN_TARGET" ]; then
55-
dotnet restore "$SCAN_TARGET" --ignore-failed-sources --no-cache >/dev/null 2>&1 || true
55+
dotnet restore "$SCAN_TARGET" --ignore-failed-sources --no-cache || true
5656
fi
5757
5858
# Generate SBOM to temporary directory
5959
OUTPUT_DIR="temp_sbom_output"
60-
rm -rf "$OUTPUT_DIR" 2>/dev/null || true
60+
rm -rf "$OUTPUT_DIR" || true
6161
6262
if [ -n "$SCAN_TARGET" ] && dotnet CycloneDX "$SCAN_TARGET" \
6363
--disable-package-restore \
6464
--output "$OUTPUT_DIR" \
6565
--output-format json \
66-
>/dev/null 2>&1; then
66+
; then
6767
6868
if [ -f "$OUTPUT_DIR/bom.json" ]; then
6969
cat "$OUTPUT_DIR/bom.json"

0 commit comments

Comments
 (0)