From 659e35edf8b54894a6236100d071d1cefba5625d Mon Sep 17 00:00:00 2001 From: "bobo.yang" Date: Tue, 13 Jun 2023 08:46:53 +0800 Subject: [PATCH] don't focus on output while devchat check fail. --- src/contributes/commandsBase.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/contributes/commandsBase.ts b/src/contributes/commandsBase.ts index 7ffe9f7..660055c 100644 --- a/src/contributes/commandsBase.ts +++ b/src/contributes/commandsBase.ts @@ -16,14 +16,12 @@ export function checkDevChatDependency(): boolean { return true; } else { logger.channel()?.error(`Failed to get pipx environment path, I will try to install pipx.`); - logger.channel()?.show(); return false; } } catch (error) { // DevChat dependency check failed // log out detail error message logger.channel()?.error(`Failed to check DevChat dependency: ${error}`); - logger.channel()?.show(); return false; } }