Skip to content

Commit

Permalink
fix custom cli cmd issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vadiminc committed Mar 29, 2023
1 parent 5aaf8e3 commit b79631a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/tsc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssv-keys",
"version": "0.0.13",
"version": "0.0.15",
"description": "Library to split a validator key into a predefined threshold of shares via Shamir-Secret-Sharing (SSS), and encrypt them to a set of operator keys.",
"author": "SSV.Network",
"repository": "https://github.com/bloxapp/ssv-keys",
Expand Down
2 changes: 1 addition & 1 deletion dist/tsc/src/commands/BaseCommand.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tsc/src/commands/BaseCommand.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssv-keys",
"version": "0.0.14",
"version": "0.0.15",
"description": "Library to split a validator key into a predefined threshold of shares via Shamir-Secret-Sharing (SSS), and encrypt them to a set of operator keys.",
"author": "SSV.Network",
"repository": "https://github.com/bloxapp/ssv-keys",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/BaseCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export class BaseCommand extends ArgumentParser {
multi[extraArgumentPromptOptions.name].push(await this.ask(extraArgumentPromptOptions, extraArgumentOptions));
processedArguments[extraArgumentPromptOptions.name] = true;

if (preFilledValues[promptOptions.name].split(',').length === multi[extraArgumentPromptOptions.name].length) {
if (preFilledValues[promptOptions.name] && preFilledValues[promptOptions.name].split(',').length === multi[extraArgumentPromptOptions.name].length) {
filledAsParent = true;
}
}
Expand Down

0 comments on commit b79631a

Please sign in to comment.