Skip to content

Commit 5b43ca8

Browse files
fix components location (#533)
* fix components location * wip
1 parent a3ab32a commit 5b43ca8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/interface/cli/commands/hybrid/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ async function downloadVeonona(location = CODEFRESH_PATH) {
326326
});
327327
const [error] = await to(downloader.download(components.venona));
328328
if (error) {
329-
const newLocation = path.join(INSTALLATION_DEFAULTS.COMPONENTS_FOLDER, components.venona.local.dir, components.venona.local.binary);
329+
const newLocation = path.join(process.cwd(), INSTALLATION_DEFAULTS.COMPONENTS_FOLDER, components.venona.local.dir, components.venona.local.binary);
330330
if (await pathExists(newLocation)) {
331331
console.log('Failed to download installer, using binary from components folder');
332332
return path.resolve(process.cwd(), INSTALLATION_DEFAULTS.COMPONENTS_FOLDER);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.70.4",
3+
"version": "0.70.5",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)