👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2022-01-08 13:14:18 +01:00
parent 95542a5a8d
commit e74caf4b0d

View file

@ -313,9 +313,9 @@ export class ICalendar implements INodeType {
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject; const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
let fileName = 'event.ics'; let fileName = 'event.ics';
let eventStart = moment(start).toArray().splice(0, (allDay) ? 3 : 6) as ics.DateArray; const eventStart = moment(start).toArray().splice(0, (allDay) ? 3 : 6) as ics.DateArray;
eventStart[1]++; eventStart[1]++;
let eventEnd = moment(end).toArray().splice(0, (allDay) ? 3 : 6) as ics.DateArray; const eventEnd = moment(end).toArray().splice(0, (allDay) ? 3 : 6) as ics.DateArray;
eventEnd[1]++; eventEnd[1]++;
if (additionalFields.fileName) { if (additionalFields.fileName) {