Skip to content

Commit

Permalink
fix lint spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
sdetweil committed Oct 22, 2024
1 parent d805934 commit e544b6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ical.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ const exdateParameter = function (name) {
if (typeof exdate[name].toISOString === 'function') {
curr[name][exdate[name].toISOString().slice(0, 10)] = exdate[name];
} else {
throw new TypeError('No toISOString function in exdate[name] = '+ exdate[name]);
throw new TypeError('No toISOString function in exdate[name] = ' + exdate[name]);
}
}
}
Expand Down Expand Up @@ -548,7 +548,7 @@ module.exports = {
if (typeof curr.recurrenceid.toISOString === 'function') {
par[curr.uid].recurrences[curr.recurrenceid.toISOString().slice(0, 10)] = recurrenceObject;
} else { // Removed issue 56
throw new TypeError('No toISOString function in curr.recurrenceid ='+ curr.recurrenceid);
throw new TypeError('No toISOString function in curr.recurrenceid =' + curr.recurrenceid);
}
}

Expand Down Expand Up @@ -623,10 +623,10 @@ module.exports = {

rule = rule.replace(/\.\d{3}/, '');
} catch (error) { // This should not happen, issue #56
throw new Error('ERROR when trying to convert to ISOString '+ error);
throw new Error('ERROR when trying to convert to ISOString ' + error);
}
} else {
throw new Error('No toISOString function in curr.start '+ curr.start);
throw new Error('No toISOString function in curr.start ' + curr.start);
}
}

Expand Down

0 comments on commit e544b6f

Please sign in to comment.