From 2e450947e676e24c861e8e5781856c254dacd17a Mon Sep 17 00:00:00 2001 From: Sebastian Fastner Date: Thu, 12 May 2016 14:55:21 +0200 Subject: [PATCH] Add missing validation return --- src/VuexValidator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VuexValidator.js b/src/VuexValidator.js index 84d0b37..edd8fb5 100644 --- a/src/VuexValidator.js +++ b/src/VuexValidator.js @@ -52,7 +52,7 @@ function callValidatorFunction(context, validatorFunction, state) { return function() { - validatorFunction.call(context, state) + return validatorFunction.call(context, state) } }