Skip to content

Commit

Permalink
Update src/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro <[email protected]>
  • Loading branch information
mfw78 and alfetopito authored Jan 17, 2024
1 parent c064848 commit 7730d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function validateJSON(filePath: string): Config {
);
const validate = ajv.compile(schema);
try {
// Read and prase the JSON file
// Read and parse the JSON file
const data = JSON.parse(fs.readFileSync(filePath, "utf8"));

// Validate the data against the schema
Expand Down

0 comments on commit 7730d96

Please sign in to comment.