Skip to content

Commit 509a459

Browse files
authored
fix(cli): redact task run env values from debug log (#4336)
1 parent 11d8a05 commit 509a459

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"trigger.dev": patch
3+
---
4+
5+
Avoid logging task run environment variable values at debug level

packages/cli-v3/src/executions/taskRunProcess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class TaskRunProcess {
151151
};
152152

153153
logger.debug(`initializing task run process`, {
154-
env: fullEnv,
154+
envKeys: Object.keys(fullEnv),
155155
path: workerManifest.workerEntryPoint,
156156
cwd,
157157
});

0 commit comments

Comments
 (0)