Skip to content

Commit 08af532

Browse files
committed
test
1 parent dc4dbd4 commit 08af532

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

lib/utils.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ class Utils {
8181
if (!isLatestVer && (0, semver_1.lt)(version, this.MIN_CLI_VERSION)) {
8282
throw new Error('Requested to download JFrog CLI version ' + version + ' but must be at least ' + this.MIN_CLI_VERSION);
8383
}
84-
if (jfrogCredentials.oidcProviderName && cliRemote != '') {
85-
throw new Error('OIDC credentials are not supported for CLI remote downloads, please use an access token instead.');
86-
}
8784
if (!isLatestVer && this.loadFromCache(version)) {
8885
core.info('Found JFrog CLI in cache. No need to download');
8986
return;

src/utils.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ export class Utils {
9595
if (!isLatestVer && lt(version, this.MIN_CLI_VERSION)) {
9696
throw new Error('Requested to download JFrog CLI version ' + version + ' but must be at least ' + this.MIN_CLI_VERSION);
9797
}
98-
if (jfrogCredentials.oidcProviderName && cliRemote != '') {
99-
throw new Error('OIDC credentials are not supported for CLI remote downloads, please use an access token instead.');
100-
}
10198
if (!isLatestVer && this.loadFromCache(version)) {
10299
core.info('Found JFrog CLI in cache. No need to download');
103100
return;

0 commit comments

Comments
 (0)