Skip to content

Commit 72cf9df

Browse files
author
Oleg Sucharevich
authored
fix reference (#442)
* fix reference from argv
1 parent bef383b commit 72cf9df

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/interface/cli/commands/context/create/secret-store/types/kubernetes-runtime.cmd.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const command = new Command({
2020
.option('runtimes', {
2121
describe: 'Names of the runtime-environment to be used as secret store',
2222
type: 'array',
23+
alias: 'runtime',
2324
default: ['*'],
2425
})
2526
.option('resource-type', {
@@ -35,7 +36,7 @@ const command = new Command({
3536
handler: async (argv) => {
3637
let runtimes = [];
3738
if (argv.runtime) {
38-
runtimes = argv.runtime;
39+
runtimes = argv.runtimes;
3940
}
4041
const data = {
4142
apiVersion: 'v1',

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

0 commit comments

Comments
 (0)