From e544b6fbd7595a49bf5d1ad5427e1b18f3093f09 Mon Sep 17 00:00:00 2001 From: sam detweiler Date: Tue, 22 Oct 2024 14:46:38 -0500 Subject: [PATCH] fix lint spacing --- ical.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ical.js b/ical.js index 608b8cd..2d088ca 100644 --- a/ical.js +++ b/ical.js @@ -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]); } } } @@ -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); } } @@ -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); } }