Skip to content

Commit f660ab6

Browse files
committed
Do not check for latest
1 parent 50197cc commit f660ab6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

jfrog-tasks-utils/utils.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const fileName = getCliExecutableName();
1111
const jfrogCliToolName = 'jf';
1212
const cliPackage = 'jfrog-cli-' + getArchitecture();
1313
const fallbackCliVersion = '2.89.0';
14-
let defaultJfrogCliVersion = null;
14+
let defaultJfrogCliVersion = '2.89.0';
1515

1616
/**
1717
* Executes an HTTP request with retry logic for 5xx errors.
@@ -121,9 +121,6 @@ function fetchLatestCliVersion() {
121121
return fallbackCliVersion;
122122
}
123123

124-
// Fetch and cache the CLI version during module initialization
125-
defaultJfrogCliVersion = fetchLatestCliVersion();
126-
127124
/**
128125
* Safely constructs the JFrog tools directory path, handling potential issues with Agent.ToolsDirectory
129126
*/

0 commit comments

Comments
 (0)