ci: Upgrade eslint, prettier, typescript, and some other dev tooling (no-changelog) (#8895)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-03-26 14:22:57 +01:00
committed by GitHub
parent 117b57ccc5
commit 372d5c7d01
190 changed files with 1142 additions and 1198 deletions

View File

@@ -6,6 +6,7 @@ import type {
INodeType,
INodeTypeDescription,
} from 'n8n-workflow';
import set from 'lodash/set';
import { javascriptCodeDescription } from './descriptions/JavascriptCodeDescription';
import { pythonCodeDescription } from './descriptions/PythonCodeDescription';
import { JavaScriptSandbox } from './JavaScriptSandbox';
@@ -13,8 +14,6 @@ import { PythonSandbox } from './PythonSandbox';
import { getSandboxContext } from './Sandbox';
import { standardizeOutput } from './utils';
import set from 'lodash/set';
const { CODE_ENABLE_STDOUT } = process.env;
export class Code implements INodeType {
@@ -118,9 +117,9 @@ export class Code implements INodeType {
workflowMode === 'manual'
? this.sendMessageToUI
: CODE_ENABLE_STDOUT === 'true'
? (...args) =>
? (...args) =>
console.log(`[Workflow "${this.getWorkflow().id}"][Node "${node.name}"]`, ...args)
: () => {},
: () => {},
);
return sandbox;
};