Skip to content

Commit 9c34307

Browse files
bigdazgithub-actions[bot]
authored andcommitted
[bot] Update dist directory
1 parent 30c82f0 commit 9c34307

File tree

10 files changed

+45
-65
lines changed

10 files changed

+45
-65
lines changed

dist/dependency-submission/main/index.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144431,19 +144431,19 @@ class BuildScanConfig {
144431144431
return core.getInput('develocity-token-expiry');
144432144432
}
144433144433
getDevelocityInjectionEnabled() {
144434-
return getMaybeBooleanInput('develocity-injection-enabled');
144434+
return getOptionalBooleanInput('develocity-injection-enabled');
144435144435
}
144436144436
getDevelocityUrl() {
144437144437
return core.getInput('develocity-url');
144438144438
}
144439144439
getDevelocityAllowUntrustedServer() {
144440-
return getMaybeBooleanInput('develocity-allow-untrusted-server');
144440+
return getOptionalBooleanInput('develocity-allow-untrusted-server');
144441144441
}
144442144442
getDevelocityCaptureFileFingerprints() {
144443-
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
144443+
return getOptionalBooleanInput('develocity-capture-file-fingerprints');
144444144444
}
144445144445
getDevelocityEnforceUrl() {
144446-
return getMaybeBooleanInput('develocity-enforce-url');
144446+
return getOptionalBooleanInput('develocity-enforce-url');
144447144447
}
144448144448
getDevelocityPluginVersion() {
144449144449
return core.getInput('develocity-plugin-version');
@@ -144559,16 +144559,12 @@ function getBooleanInput(paramName, paramDefault = false) {
144559144559
}
144560144560
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
144561144561
}
144562-
function getMaybeBooleanInput(paramName) {
144562+
function getOptionalBooleanInput(paramName) {
144563144563
const paramValue = core.getInput(paramName);
144564-
switch (paramValue?.toLowerCase().trim()) {
144565-
case 'false':
144566-
return false;
144567-
case 'true':
144568-
return true;
144569-
default:
144570-
return undefined;
144564+
if (paramValue === '') {
144565+
return undefined;
144571144566
}
144567+
return getBooleanInput(paramName);
144572144568
}
144573144569

144574144570

dist/dependency-submission/main/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dependency-submission/post/index.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95859,19 +95859,19 @@ class BuildScanConfig {
9585995859
return core.getInput('develocity-token-expiry');
9586095860
}
9586195861
getDevelocityInjectionEnabled() {
95862-
return getMaybeBooleanInput('develocity-injection-enabled');
95862+
return getOptionalBooleanInput('develocity-injection-enabled');
9586395863
}
9586495864
getDevelocityUrl() {
9586595865
return core.getInput('develocity-url');
9586695866
}
9586795867
getDevelocityAllowUntrustedServer() {
95868-
return getMaybeBooleanInput('develocity-allow-untrusted-server');
95868+
return getOptionalBooleanInput('develocity-allow-untrusted-server');
9586995869
}
9587095870
getDevelocityCaptureFileFingerprints() {
95871-
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
95871+
return getOptionalBooleanInput('develocity-capture-file-fingerprints');
9587295872
}
9587395873
getDevelocityEnforceUrl() {
95874-
return getMaybeBooleanInput('develocity-enforce-url');
95874+
return getOptionalBooleanInput('develocity-enforce-url');
9587595875
}
9587695876
getDevelocityPluginVersion() {
9587795877
return core.getInput('develocity-plugin-version');
@@ -95987,16 +95987,12 @@ function getBooleanInput(paramName, paramDefault = false) {
9598795987
}
9598895988
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
9598995989
}
95990-
function getMaybeBooleanInput(paramName) {
95990+
function getOptionalBooleanInput(paramName) {
9599195991
const paramValue = core.getInput(paramName);
95992-
switch (paramValue?.toLowerCase().trim()) {
95993-
case 'false':
95994-
return false;
95995-
case 'true':
95996-
return true;
95997-
default:
95998-
return undefined;
95992+
if (paramValue === '') {
95993+
return undefined;
9599995994
}
95995+
return getBooleanInput(paramName);
9600095996
}
9600195997

9600295998

dist/dependency-submission/post/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup-gradle/main/index.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144431,19 +144431,19 @@ class BuildScanConfig {
144431144431
return core.getInput('develocity-token-expiry');
144432144432
}
144433144433
getDevelocityInjectionEnabled() {
144434-
return getMaybeBooleanInput('develocity-injection-enabled');
144434+
return getOptionalBooleanInput('develocity-injection-enabled');
144435144435
}
144436144436
getDevelocityUrl() {
144437144437
return core.getInput('develocity-url');
144438144438
}
144439144439
getDevelocityAllowUntrustedServer() {
144440-
return getMaybeBooleanInput('develocity-allow-untrusted-server');
144440+
return getOptionalBooleanInput('develocity-allow-untrusted-server');
144441144441
}
144442144442
getDevelocityCaptureFileFingerprints() {
144443-
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
144443+
return getOptionalBooleanInput('develocity-capture-file-fingerprints');
144444144444
}
144445144445
getDevelocityEnforceUrl() {
144446-
return getMaybeBooleanInput('develocity-enforce-url');
144446+
return getOptionalBooleanInput('develocity-enforce-url');
144447144447
}
144448144448
getDevelocityPluginVersion() {
144449144449
return core.getInput('develocity-plugin-version');
@@ -144559,16 +144559,12 @@ function getBooleanInput(paramName, paramDefault = false) {
144559144559
}
144560144560
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
144561144561
}
144562-
function getMaybeBooleanInput(paramName) {
144562+
function getOptionalBooleanInput(paramName) {
144563144563
const paramValue = core.getInput(paramName);
144564-
switch (paramValue?.toLowerCase().trim()) {
144565-
case 'false':
144566-
return false;
144567-
case 'true':
144568-
return true;
144569-
default:
144570-
return undefined;
144564+
if (paramValue === '') {
144565+
return undefined;
144571144566
}
144567+
return getBooleanInput(paramName);
144572144568
}
144573144569

144574144570

dist/setup-gradle/main/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup-gradle/post/index.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -141884,19 +141884,19 @@ class BuildScanConfig {
141884141884
return core.getInput('develocity-token-expiry');
141885141885
}
141886141886
getDevelocityInjectionEnabled() {
141887-
return getMaybeBooleanInput('develocity-injection-enabled');
141887+
return getOptionalBooleanInput('develocity-injection-enabled');
141888141888
}
141889141889
getDevelocityUrl() {
141890141890
return core.getInput('develocity-url');
141891141891
}
141892141892
getDevelocityAllowUntrustedServer() {
141893-
return getMaybeBooleanInput('develocity-allow-untrusted-server');
141893+
return getOptionalBooleanInput('develocity-allow-untrusted-server');
141894141894
}
141895141895
getDevelocityCaptureFileFingerprints() {
141896-
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
141896+
return getOptionalBooleanInput('develocity-capture-file-fingerprints');
141897141897
}
141898141898
getDevelocityEnforceUrl() {
141899-
return getMaybeBooleanInput('develocity-enforce-url');
141899+
return getOptionalBooleanInput('develocity-enforce-url');
141900141900
}
141901141901
getDevelocityPluginVersion() {
141902141902
return core.getInput('develocity-plugin-version');
@@ -142012,16 +142012,12 @@ function getBooleanInput(paramName, paramDefault = false) {
142012142012
}
142013142013
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
142014142014
}
142015-
function getMaybeBooleanInput(paramName) {
142015+
function getOptionalBooleanInput(paramName) {
142016142016
const paramValue = core.getInput(paramName);
142017-
switch (paramValue?.toLowerCase().trim()) {
142018-
case 'false':
142019-
return false;
142020-
case 'true':
142021-
return true;
142022-
default:
142023-
return undefined;
142017+
if (paramValue === '') {
142018+
return undefined;
142024142019
}
142020+
return getBooleanInput(paramName);
142025142021
}
142026142022

142027142023

dist/setup-gradle/post/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/wrapper-validation/main/index.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90063,19 +90063,19 @@ class BuildScanConfig {
9006390063
return core.getInput('develocity-token-expiry');
9006490064
}
9006590065
getDevelocityInjectionEnabled() {
90066-
return getMaybeBooleanInput('develocity-injection-enabled');
90066+
return getOptionalBooleanInput('develocity-injection-enabled');
9006790067
}
9006890068
getDevelocityUrl() {
9006990069
return core.getInput('develocity-url');
9007090070
}
9007190071
getDevelocityAllowUntrustedServer() {
90072-
return getMaybeBooleanInput('develocity-allow-untrusted-server');
90072+
return getOptionalBooleanInput('develocity-allow-untrusted-server');
9007390073
}
9007490074
getDevelocityCaptureFileFingerprints() {
90075-
return getMaybeBooleanInput('develocity-capture-file-fingerprints');
90075+
return getOptionalBooleanInput('develocity-capture-file-fingerprints');
9007690076
}
9007790077
getDevelocityEnforceUrl() {
90078-
return getMaybeBooleanInput('develocity-enforce-url');
90078+
return getOptionalBooleanInput('develocity-enforce-url');
9007990079
}
9008090080
getDevelocityPluginVersion() {
9008190081
return core.getInput('develocity-plugin-version');
@@ -90191,16 +90191,12 @@ function getBooleanInput(paramName, paramDefault = false) {
9019190191
}
9019290192
throw TypeError(`The value '${paramValue} is not valid for '${paramName}. Valid values are: [true, false]`);
9019390193
}
90194-
function getMaybeBooleanInput(paramName) {
90194+
function getOptionalBooleanInput(paramName) {
9019590195
const paramValue = core.getInput(paramName);
90196-
switch (paramValue?.toLowerCase().trim()) {
90197-
case 'false':
90198-
return false;
90199-
case 'true':
90200-
return true;
90201-
default:
90202-
return undefined;
90196+
if (paramValue === '') {
90197+
return undefined;
9020390198
}
90199+
return getBooleanInput(paramName);
9020490200
}
9020590201

9020690202

dist/wrapper-validation/main/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)