All tests are passing. Removed the HTML docs
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
if (_.isInterval(<%= get %>)) {
|
||||
if (_.isNumeric(<%= get %>) || _.isInterval(<%= get %>)) {
|
||||
<%= set %> = <%= get %>;
|
||||
} else {
|
||||
throw new TypeError('Invalid <%= name %>: ' + <%= get %> + ' should be in interval notation (an integer followed by one of Mwdhmsy).');
|
||||
}
|
||||
throw new TypeError('Invalid <%= name %>: ' + <%= get %> + ' should be a number or in interval notation (an integer followed by one of Mwdhmsy).');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user