mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 23:36:15 -04:00
fix: array to bool in rules
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
parent
a282c526c1
commit
06aac238b2
1 changed files with 1 additions and 2 deletions
|
@ -56,8 +56,7 @@
|
|||
v => (!!v && bip39.validateMnemonic(v)) || 'Invalid mnemonic.'
|
||||
],
|
||||
entropy: [
|
||||
v => (!!v && v.match(/[0-9a-fA-F]{32}/)) || 'Invalid entropy.'
|
||||
|
||||
v => (!!v && !!v.match(/[0-9a-fA-F]{32}/)) || 'Invalid entropy.'
|
||||
]
|
||||
}
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue