Only verify TOU agreement when required

This commit is contained in:
daz 2024-04-07 11:25:02 -06:00
parent 19d422aa4b
commit e40c718900
No known key found for this signature in database

View file

@ -185,9 +185,6 @@ export enum JobSummaryOption {
export class BuildScanConfig {
getBuildScanPublishEnabled(): boolean {
if (!this.verifyTermsOfUseAgreement()) {
return false
}
return getBooleanInput('build-scan-publish') && this.verifyTermsOfUseAgreement()
}