mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): clear @ts-ignore from workflow and core packages (#4467)
* 📘 Clear all `@ts-ignore` comments from workflow package * 👕 Default to error with package-level overrides * refactor(core): clear all `@ts-ignore` comments from core package (#4473) 👕 Clear all `@ts-ignore` comments from core package * ✏️ Update comment
This commit is contained in:
@@ -156,7 +156,6 @@ export class WorkflowExecute {
|
||||
startNodes: string[],
|
||||
destinationNode: string,
|
||||
pinData?: IPinData,
|
||||
// @ts-ignore
|
||||
): PCancelable<IRun> {
|
||||
let incomingNodeConnections: INodeConnections | undefined;
|
||||
let connection: IConnection;
|
||||
@@ -783,7 +782,6 @@ export class WorkflowExecute {
|
||||
gotCancel = true;
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
if (gotCancel) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
@@ -911,7 +909,6 @@ export class WorkflowExecute {
|
||||
}
|
||||
|
||||
for (let tryIndex = 0; tryIndex < maxTries; tryIndex++) {
|
||||
// @ts-ignore
|
||||
if (gotCancel) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user