mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
👕 Fix lint issue
This commit is contained in:
parent
b67ec19c8d
commit
0ad089ffb6
|
@ -20,11 +20,13 @@ export const searchOperations: INodeProperties[] = [
|
|||
name: 'Query',
|
||||
value: 'query',
|
||||
description: 'Search for records by entering search queries of your choice',
|
||||
action: 'Query a search',
|
||||
},
|
||||
{
|
||||
name: 'Lookup',
|
||||
value: 'lookup',
|
||||
description: 'Search for the name or email address of records',
|
||||
action: 'Lookup a search',
|
||||
},
|
||||
],
|
||||
default: 'query',
|
||||
|
|
|
@ -1750,7 +1750,7 @@ export class Github implements INodeType {
|
|||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
||||
{ itemIndex: i }
|
||||
{ itemIndex: i },
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 },
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -2200,7 +2200,7 @@ export class Hubspot implements INodeType {
|
|||
if (!Object.keys(metadata).length) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
`At least one metadata field needs to set`, { itemIndex: i }
|
||||
`At least one metadata field needs to set`, { itemIndex: i },
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -194,7 +194,7 @@ export class Iterable implements INodeType {
|
|||
if (this.continueOnFail() === false) {
|
||||
if (responseData.code !== 'Success') {
|
||||
throw new NodeOperationError(this.getNode(),
|
||||
`Iterable error response [400]: ${responseData.msg}`, { itemIndex: i }
|
||||
`Iterable error response [400]: ${responseData.msg}`, { itemIndex: i },
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -140,7 +140,7 @@ export class Marketstack implements INodeType {
|
|||
if (!dateFrom || !dateTo) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
'Please enter a start and end date to filter by timeframe.', { itemIndex: i }
|
||||
'Please enter a start and end date to filter by timeframe.', { itemIndex: i },
|
||||
);
|
||||
}
|
||||
endpoint = '/eod';
|
||||
|
|
|
@ -204,7 +204,7 @@ export class Raindrop implements INodeType {
|
|||
const updateFields = this.getNodeParameter('updateFields', i) as IDataObject;
|
||||
|
||||
if (isEmpty(updateFields)) {
|
||||
throw new NodeOperationError(this.getNode(), `Please enter at least one field to update for the ${resource}.`), { itemIndex: i };
|
||||
throw new NodeOperationError(this.getNode(), `Please enter at least one field to update for the ${resource}.`, { itemIndex: i });
|
||||
}
|
||||
|
||||
Object.assign(body, updateFields);
|
||||
|
|
|
@ -73,6 +73,7 @@ export class Redis implements INodeType {
|
|||
name: 'Pop',
|
||||
value: 'pop',
|
||||
description: 'Pop data from a redis list',
|
||||
action: 'Pop data from a redis list',
|
||||
},
|
||||
{
|
||||
name: 'Publish',
|
||||
|
@ -84,6 +85,7 @@ export class Redis implements INodeType {
|
|||
name: 'Push',
|
||||
value: 'push',
|
||||
description: 'Push data to a redis list',
|
||||
action: 'Push data to a redis list',
|
||||
},
|
||||
{
|
||||
name: 'Set',
|
||||
|
|
|
@ -144,7 +144,7 @@ export class UrlScanIo implements INodeType {
|
|||
if (tags.length > 10) {
|
||||
throw new NodeOperationError(
|
||||
this.getNode(),
|
||||
'Please enter at most 10 tags', { itemIndex: i }
|
||||
'Please enter at most 10 tags', { itemIndex: i },
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue