From d7113168caf55ba06ceb4bb6379a0970610b03d9 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Fri, 21 Feb 2020 12:51:56 +1030 Subject: [PATCH] Linting --- lib/schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/schema.js b/lib/schema.js index 3365584..b2f6e45 100644 --- a/lib/schema.js +++ b/lib/schema.js @@ -38,7 +38,7 @@ const addSchemas = () => { const validateJson = (schema, json) => { const result = ajv.validate(schema, json); - return{ + return { result, errors: ajv.errors };