fix(core): Propagate env to task runner (#14638)

This commit is contained in:
Iván Ovejero
2025-04-15 11:58:54 +02:00
committed by GitHub
parent 513f20a902
commit 8e26d5514d
3 changed files with 3 additions and 0 deletions

View File

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