Skip to content

Commit b74ca12

Browse files
fix --bypass-download flag (#760)
1 parent f4710db commit b74ca12

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

lib/interface/cli/commands/gitops/install.cmd.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ const installArgoCmd = new Command({
9898
})
9999
.option('values', {
100100
describe: 'Specify values in a YAML file',
101+
})
102+
.option('bypass-download', {
103+
describe: 'Will bypass the attempt to download the installer. Instead, will immediately attempt to use the binary from the components folder',
104+
default: false,
105+
type: 'boolean',
101106
}),
102107

103108
handler: async (argv) => {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ async function getComponent(location = CODEFRESH_PATH, component, bypassDownload
360360
);
361361

362362
const downloadedBinLocation = path.join(
363-
process.cwd(),
364363
location,
365364
_.get(component, 'local.dir', ''),
366365
_.get(component, 'local.bin', ''),

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.80.1",
3+
"version": "0.80.2",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)