From 8177a01b9eb703c2a15d2bb3a1233384e9315820 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Wed, 20 Aug 2025 20:13:17 -0700 Subject: [PATCH] tmp --- base-action/src/run-claude.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/base-action/src/run-claude.ts b/base-action/src/run-claude.ts index 1d095b7..3abb7e6 100644 --- a/base-action/src/run-claude.ts +++ b/base-action/src/run-claude.ts @@ -145,14 +145,6 @@ export async function runClaude(promptPath: string, options: ClaudeOptions) { console.log(`Prompt file size: ${promptSize} bytes`); - // Log custom environment variables if any - const customEnvKeys = Object.keys(config.env).filter( - (key) => key !== "CLAUDE_ACTION_INPUTS_PRESENT", - ); - if (customEnvKeys.length > 0) { - console.log(`Custom environment variables: ${customEnvKeys.join(", ")}`); - } - // Output to console console.log(`Running Claude with prompt from file: ${config.promptPath}`); @@ -168,6 +160,11 @@ export async function runClaude(promptPath: string, options: ClaudeOptions) { pipeStream.destroy(); }); + console.log("yolo", process.env); + console.log("yolo running with", { + ...process.env, + ...config.env, + }); const claudeProcess = spawn("claude", config.claudeArgs, { stdio: ["pipe", "pipe", "inherit"], env: {