Hotfix: 'deposits import' was ignoring its arguments in Linux builds
This commit is contained in:
parent
d83cf6e8a4
commit
4328576e18
|
@ -1432,7 +1432,9 @@ programMain:
|
|||
|
||||
#]#
|
||||
of DepositsCmd.`import`:
|
||||
let validatorKeysDir = config.importedDepositsDir.get:
|
||||
let validatorKeysDir = if config.importedDepositsDir.isSome:
|
||||
config.importedDepositsDir.get
|
||||
else:
|
||||
let cwd = os.getCurrentDir()
|
||||
if dirExists(cwd / "validator_keys"):
|
||||
InputDir(cwd / "validator_keys")
|
||||
|
|
Loading…
Reference in New Issue