👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2022-07-13 10:38:12 +02:00
parent b67ec19c8d
commit 0ad089ffb6
12 changed files with 17 additions and 11 deletions

View File

@@ -66,6 +66,7 @@ export const campaignOperations: INodeProperties[] = [
],
},
},
action: 'Get all campaigns',
},
{
name: 'Get',
@@ -114,6 +115,7 @@ export const campaignOperations: INodeProperties[] = [
],
},
},
action: 'Get a campaign',
},
],
default: 'getAll',

View File

@@ -330,7 +330,7 @@ export class GoogleCalendar implements INodeType {
additionalFields.repeatUntil
) {
throw new NodeOperationError(this.getNode(),
`You can set either 'Repeat How Many Times' or 'Repeat Until' but not both`, { itemIndex: i }
`You can set either 'Repeat How Many Times' or 'Repeat Until' but not both`, { itemIndex: i },
);
}
if (additionalFields.repeatFrecuency) {
@@ -577,7 +577,7 @@ export class GoogleCalendar implements INodeType {
} else {
if (updateFields.repeatHowManyTimes && updateFields.repeatUntil) {
throw new NodeOperationError(this.getNode(),
`You can set either 'Repeat How Many Times' or 'Repeat Until' but not both`, { itemIndex: i }
`You can set either 'Repeat How Many Times' or 'Repeat Until' but not both`, { itemIndex: i },
);
}
if (updateFields.repeatFrecuency) {

View File

@@ -241,7 +241,7 @@ export class GooglePerspective implements INodeType {
if (!attributes.length) {
throw new NodeOperationError(
this.getNode(),
'Please enter at least one attribute to analyze.', { itemIndex: i }
'Please enter at least one attribute to analyze.', { itemIndex: i },
);
}