Skip to content

Commit 5c08298

Browse files
committed
Add stricter json validation and remove positive confirmation that validation passed
1 parent 2014a9a commit 5c08298

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

schema/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/draft-04/schema#",
33
"type": "object",
4+
"additionalProperties": false,
45
"properties": {
56
"allChunks": {
67
"description": "",

schema/valid.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ module.exports = function validate(data) {
88

99
if(!valid) {
1010
throw new Error("Your ExtractTextPlugin config is not correct. Please double check.");
11-
} else {
12-
console.log('your stuff works');
1311
}
1412
}

0 commit comments

Comments
 (0)