diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-02-27 12:13:53 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-02-27 12:13:53 -0400 |
commit | cd3a59d5024984a2d3be5164f6b2ce9ee05e9f62 (patch) | |
tree | 515c7457fcf752aee238af89d3c7888956e71e7a /src/data/validators.js | |
parent | 7ffc79f9c891becdcf778ab6e5faf4c8ca3b14da (diff) |
generalized reference errors
Diffstat (limited to 'src/data/validators.js')
-rw-r--r-- | src/data/validators.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/validators.js b/src/data/validators.js index 8f4d06d7..2d90987f 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -155,7 +155,7 @@ function validateArrayItemsHelper(itemValidator) { export function validateArrayItems(itemValidator) { const fn = validateArrayItemsHelper(itemValidator); - return decorateTime('validateArrayItems -> work', array => { + return array => { isArray(array); withAggregate({message: 'Errors validating array items'}, ({ wrap }) => { @@ -163,7 +163,7 @@ export function validateArrayItems(itemValidator) { }); return true; - }); + }; } export function validateInstanceOf(constructor) { |