diff --git a/.jshintrc b/.jshintrc index 9776863..84c3ee3 100644 --- a/.jshintrc +++ b/.jshintrc @@ -65,5 +65,5 @@ "maxparams": 5, "maxdepth": 5, "maxstatements": 50, - "maxcomplexity": 10 + "maxcomplexity": 15 } diff --git a/lib/validator.js b/lib/validator.js index dd3b6a6..686f258 100644 --- a/lib/validator.js +++ b/lib/validator.js @@ -92,7 +92,7 @@ function coercion(parameter) { var fn; switch (parameter.type) { - case 'array': + case 'array' : fn = function (data) { var sep = pathsep(parameter.collectionFormat || 'csv'); return data.split(sep);