You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: lift SBOM file loading out of executeUpload, sanitize its echoes
Codacy flagged `executeUpload` at 55 lines (limit 50). Reading and validating
the file is a self-contained step with its own failure modes, so it moves to
`readSbomFile` and the upload path is left with the request and its output.
The success line and the follow-up-command hint interpolated the filename,
image and tag raw. All three are strings this process was handed rather than
strings it chose, and the file already sanitizes image and tag everywhere
else — the exceptions were the two places they were echoed back.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments