Skip to content

Commit b5c9f05

Browse files
Update automation for SBOM field
Signed-off-by: Natalia Luzuriaga <natalia.luzuriaga@cms.hhs.gov>
1 parent e313ee7 commit b5c9f05

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

js/autoGenerateFields.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,9 @@ async function preFillFields(repoData, languages) {
279279
feedbackComp.setValue(issuesUrl)
280280
}
281281

282-
// Update upstream
283-
284-
if (form.getComponent('upstream') && repoData.html_url) {
285-
const upstreamComp = form.getComponent('upstream');
282+
// Update SBOM
283+
if (form.getComponent('SBOM') && repoData.html_url) {
284+
const upstreamComp = form.getComponent('SBOM');
286285
const urlParts = repoData.html_url.split('/')
287286

288287
if (urlParts.length >= 2) {

0 commit comments

Comments
 (0)