From e40c718900b8c338f8a2251374081822f93b3e0d Mon Sep 17 00:00:00 2001 From: daz Date: Sun, 7 Apr 2024 11:25:02 -0600 Subject: [PATCH] Only verify TOU agreement when required --- sources/src/input-params.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/sources/src/input-params.ts b/sources/src/input-params.ts index d18b74f..0e03914 100644 --- a/sources/src/input-params.ts +++ b/sources/src/input-params.ts @@ -185,9 +185,6 @@ export enum JobSummaryOption { export class BuildScanConfig { getBuildScanPublishEnabled(): boolean { - if (!this.verifyTermsOfUseAgreement()) { - return false - } return getBooleanInput('build-scan-publish') && this.verifyTermsOfUseAgreement() }