mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -69,18 +69,17 @@ export class WorkflowTrigger implements INodeType {
|
||||
]);
|
||||
}
|
||||
|
||||
const self = this;
|
||||
async function manualTriggerFunction() {
|
||||
self.emit([
|
||||
self.helpers.returnJsonArray([
|
||||
const manualTriggerFunction = async () => {
|
||||
this.emit([
|
||||
this.helpers.returnJsonArray([
|
||||
{
|
||||
event: 'Manual execution',
|
||||
timestamp: new Date().toISOString(),
|
||||
workflow_id: self.getWorkflow().id,
|
||||
workflow_id: this.getWorkflow().id,
|
||||
},
|
||||
]),
|
||||
]);
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
manualTriggerFunction,
|
||||
|
||||
Reference in New Issue
Block a user