feat: Upgrade nodes-base package to use modern tsconfig.json (no-changelog) (#16884)

This commit is contained in:
Alex Grozav
2025-07-04 14:55:39 +03:00
committed by GitHub
parent 5733999de5
commit d754ce922d
37 changed files with 165 additions and 143 deletions

View File

@@ -37,7 +37,7 @@ export class JsTaskRunnerSandbox {
return executionResult.ok
? executionResult.result
: this.throwExecutionError(executionResult.error);
: this.throwExecutionError('error' in executionResult ? executionResult.error : {});
}
async runCodeForEachItem(numInputItems: number): Promise<INodeExecutionData[]> {
@@ -64,7 +64,7 @@ export class JsTaskRunnerSandbox {
);
if (!executionResult.ok) {
return this.throwExecutionError(executionResult.error);
return this.throwExecutionError('error' in executionResult ? executionResult.error : {});
}
executionResults = executionResults.concat(executionResult.result);