mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 20:25:26 +00:00
Fixed text
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user