mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-12 15:44:06 -08:00
👕 Fix lint issue
This commit is contained in:
parent
95542a5a8d
commit
e74caf4b0d
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue