diff --git a/src/integrations/terminal/BaseTerminal.ts b/src/integrations/terminal/BaseTerminal.ts index a266a58dba..d368789bff 100644 --- a/src/integrations/terminal/BaseTerminal.ts +++ b/src/integrations/terminal/BaseTerminal.ts @@ -65,7 +65,7 @@ export abstract class BaseTerminal implements RooTerminal { // This prevents conda/pyenv/other auto-activation commands from hijacking the stream if (eventCommand !== undefined && this.process.command) { if (!BaseTerminal.commandsMatch(this.process.command, eventCommand)) { - console.warn( + console.debug( `[Terminal ${this.provider}/${this.id}] Ignoring shell execution for non-matching command. ` + `Expected: "${this.process.command}", Got: "${eventCommand}"`, ) diff --git a/src/integrations/terminal/__tests__/BaseTerminal.spec.ts b/src/integrations/terminal/__tests__/BaseTerminal.spec.ts index b9b59b5118..299db35b1e 100644 --- a/src/integrations/terminal/__tests__/BaseTerminal.spec.ts +++ b/src/integrations/terminal/__tests__/BaseTerminal.spec.ts @@ -161,7 +161,7 @@ describe("BaseTerminal", () => { it("ignores stream when eventCommand does not match process command", () => { const stream = createMockStream() - const consoleSpy = vi.spyOn(console, "warn").mockImplementation(() => {}) + const consoleSpy = vi.spyOn(console, "debug").mockImplementation(() => {}) terminal.setActiveStream(stream, undefined, "conda activate base")