From b6107e1531ebfca10bde31133dc4381802076377 Mon Sep 17 00:00:00 2001 From: Andrew Cherry Date: Fri, 1 Apr 2022 01:34:27 +0100 Subject: [PATCH] Removed console log from code --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 6d7691d..7b5436f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -35,7 +35,7 @@ function initDefaultValues(options) { return function defaultValues(files, metalsmith, done) { // Check config fits schema const validation = schema.validate(options, { allowUnknown: true }) - console.log(validation) + if (validation.error) { error('Validation failed, %o', validation.error.details[0].message) return done(validation.error)