Skip to content

Commit 7714739

Browse files
authored
Update ZSchema.js
1 parent a4c1c63 commit 7714739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ZSchema.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ ZSchema.prototype.validate = function (json, schema, options, callback) {
188188

189189
var whatIs = Utils.whatIs(schema);
190190
if (whatIs !== "string" && whatIs !== "object") {
191-
var e = new Error("Invalid .validate call - schema must be an string or object but " + whatIs + " was passed!");
191+
var e = new Error("Invalid .validate call - schema must be a string or object but " + whatIs + " was passed!");
192192
if (callback) {
193193
process.nextTick(function () {
194194
callback(e, false);

0 commit comments

Comments
 (0)