add updated files from rebuilding

This commit is contained in:
E. Lynette Rayle
2025-05-29 15:31:31 +00:00
parent a493d67921
commit ced71b5163
3 changed files with 8 additions and 23 deletions

View File

@@ -95,7 +95,11 @@ async function main () {
url: 'https://github.com/actions/go-dependency-submission',
version: '0.0.1'
}
} else if (detectorName === '' || detectorUrl === '' || detectorVersion === '') {
} else if (
detectorName === '' ||
detectorUrl === '' ||
detectorVersion === ''
) {
// if any of detectorName, detectorUrl, or detectorVersion have value, then they are all required
throw new Error(
"Invalid input: if any of 'detector-name', 'detector-url', or 'detector-version' have value, then thay are all required."