summaryrefslogtreecommitdiffstats
path: root/packages/gitbook/src/parse/validateConfig.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook/src/parse/validateConfig.js')
-rw-r--r--packages/gitbook/src/parse/validateConfig.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/gitbook/src/parse/validateConfig.js b/packages/gitbook/src/parse/validateConfig.js
index e766fae..55196f9 100644
--- a/packages/gitbook/src/parse/validateConfig.js
+++ b/packages/gitbook/src/parse/validateConfig.js
@@ -6,12 +6,12 @@ const error = require('../utils/error');
const mergeDefaults = require('../utils/mergeDefaults');
/**
- Validate a book.json content
- And return a mix with the default value
-
- @param {Object} bookJson
- @return {Object}
-*/
+ * Validate a book.json content
+ * And return a mix with the default value
+ *
+ * @param {Object} bookJson
+ * @return {Object}
+ */
function validateConfig(bookJson) {
const v = new jsonschema.Validator();
const result = v.validate(bookJson, schema, {