Fix some more spelling errors.

This commit is contained in:
muzam1l
2022-07-13 20:11:21 +05:30
parent ef70bfb13a
commit a3d094e873
6 changed files with 8 additions and 7 deletions

View File

@@ -19,6 +19,6 @@ export const getErrors = (source?: string): Error | undefined => {
);
if (!probs.length) return undefined
const errors = probs.map(prob => `[${prob.code}] on line ${prob.line}: ${prob.message}`)
const error = new Error(`The following error(s) occured while parsing JSDOC: \n${errors.join('\n')}`)
const error = new Error(`The following error(s) occurred while parsing JSDOC: \n${errors.join('\n')}`)
return error
}