mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(core): Pass NODE_PATH
to task runners
This commit is contained in:
parent
24681f843c
commit
c20f9f53d9
|
@ -76,6 +76,7 @@ describe('TaskRunnerProcess', () => {
|
||||||
'N8N_VERSION',
|
'N8N_VERSION',
|
||||||
'ENVIRONMENT',
|
'ENVIRONMENT',
|
||||||
'DEPLOYMENT_NAME',
|
'DEPLOYMENT_NAME',
|
||||||
|
'NODE_PATH',
|
||||||
'GENERIC_TIMEZONE',
|
'GENERIC_TIMEZONE',
|
||||||
])('should propagate %s from env as is', async (envVar) => {
|
])('should propagate %s from env as is', async (envVar) => {
|
||||||
jest.spyOn(authService, 'createGrantToken').mockResolvedValue('grantToken');
|
jest.spyOn(authService, 'createGrantToken').mockResolvedValue('grantToken');
|
||||||
|
|
|
@ -63,6 +63,7 @@ export class TaskRunnerProcess extends TypedEmitter<TaskRunnerProcessEventMap> {
|
||||||
'N8N_VERSION',
|
'N8N_VERSION',
|
||||||
'ENVIRONMENT',
|
'ENVIRONMENT',
|
||||||
'DEPLOYMENT_NAME',
|
'DEPLOYMENT_NAME',
|
||||||
|
'NODE_PATH',
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
|
Loading…
Reference in a new issue