diff --git a/src/pattern.js b/src/pattern.js index 0c3e1c9..1dae919 100644 --- a/src/pattern.js +++ b/src/pattern.js @@ -70,7 +70,7 @@ CronPattern.prototype.parse = function () { // Validite number of configuration entries if( parts.length < 5 || parts.length > 6 ) { - throw new TypeError("CronPattern: invalid configuration format ('" + this.pattern + "'), exacly five or six space separated parts required."); + throw new TypeError("CronPattern: invalid configuration format ('" + this.pattern + "'), exactly five or six space separated parts are required."); } // If seconds is omitted, insert 0 for seconds @@ -467,4 +467,4 @@ CronPattern.prototype.setNthWeekdayOfMonth = function(index, nthWeekday) { } }; -export { CronPattern }; \ No newline at end of file +export { CronPattern };