mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-29 16:40:29 +03:00
fix: array to bool in rules
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
1 file changed
+1
-2
@@ -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.'
|
||||
]
|
||||
}
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user