Fixed text

This commit is contained in:
Alexander Cerutti
2021-10-11 21:25:42 +02:00
parent 18927bd745
commit 09debb1e3f

View File

@@ -913,7 +913,7 @@ function validateJSONBuffer(
try {
contentAsJSON = JSON.parse(buffer.toString("utf8"));
} catch (err) {
throw new TypeError("Cannot validat Pass.json: invalid JSON");
throw new TypeError("Cannot validate Pass.json: invalid JSON");
}
return Schemas.validate(schema, contentAsJSON);