fix(core): Pass NODE_PATH to task runners

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2025-03-03 18:12:16 +01:00
parent 24681f843c
commit c20f9f53d9
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -76,6 +76,7 @@ describe('TaskRunnerProcess', () => {
'N8N_VERSION',
'ENVIRONMENT',
'DEPLOYMENT_NAME',
'NODE_PATH',
'GENERIC_TIMEZONE',
])('should propagate %s from env as is', async (envVar) => {
jest.spyOn(authService, 'createGrantToken').mockResolvedValue('grantToken');

View file

@ -63,6 +63,7 @@ export class TaskRunnerProcess extends TypedEmitter<TaskRunnerProcessEventMap> {
'N8N_VERSION',
'ENVIRONMENT',
'DEPLOYMENT_NAME',
'NODE_PATH',
] as const;
constructor(