Skip to content

Commit

Permalink
Fix type unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
Atinux committed Nov 11, 2016
1 parent f0ccc55 commit 66464e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/schema-inspector.js
Expand Up @@ -584,7 +584,7 @@
this.report = function (message, code, reason) {
var newErr = {
code: code || this.userCode || null,
reason: reason || 'unkown',
reason: reason || 'unknown',
message: this.userError || message || 'is invalid',
property: this.userAlias ? (this.userAlias + ' (' + this._dumpStack() + ')') : this._dumpStack()
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "schema-inspector",
"description": "Schema-Inspector is a powerful tool to sanitize and validate JS objects.",
"version": "1.6.7",
"version": "1.6.8",
"main": "index.js",
"author": {
"name": "Sebastien Chopin",
Expand Down

0 comments on commit 66464e8

Please sign in to comment.