👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -59,7 +59,7 @@ export class Amqp implements INodeType {
},
],
},
]
],
};
async executeSingle(this: IExecuteSingleFunctions): Promise<INodeExecutionData> {
@@ -107,7 +107,7 @@ export class Amqp implements INodeType {
const message = {
application_properties: headerProperties,
body
body,
};
const sendResult = context.sender.send(message);

View File

@@ -77,7 +77,7 @@ export class AmqpTrigger implements INodeType {
},
],
},
]
],
};
@@ -109,7 +109,7 @@ export class AmqpTrigger implements INodeType {
port: credentials.port,
reconnect: true, // this id the default anyway
reconnect_limit: 50, // try for max 50 times, based on a back-off algorithm
container_id: (durable ? clientname : null)
container_id: (durable ? clientname : null),
};
if (credentials.username || credentials.password) {
container.options.username = credentials.username;
@@ -146,16 +146,16 @@ export class AmqpTrigger implements INodeType {
source: {
address: sink,
durable: 2,
expiry_policy: 'never'
expiry_policy: 'never',
},
credit_window: 1 // prefetch 1
credit_window: 1, // prefetch 1
};
} else {
clientOptions = {
source: {
address: sink,
},
credit_window: 1 // prefetch 1
credit_window: 1, // prefetch 1
};
}
connection.open_receiver(clientOptions);