diff --git a/src/miseService.ts b/src/miseService.ts index a58bb71..150c27d 100644 --- a/src/miseService.ts +++ b/src/miseService.ts @@ -23,7 +23,7 @@ export class MiseService { async execMiseCommand(command: string, { setProfile = true } = {}) { const miseCommand = this.createMiseCommand(command, { setProfile }); ensureMiseCommand(miseCommand); - logger.info(`Executing mise command: ${miseCommand}`); + logger.info(`> ${miseCommand}`); return execAsync(miseCommand, { cwd: this.workspaceRoot }); } diff --git a/src/providers/toolsProvider.ts b/src/providers/toolsProvider.ts index 29369bf..8766f9a 100644 --- a/src/providers/toolsProvider.ts +++ b/src/providers/toolsProvider.ts @@ -174,14 +174,11 @@ async function runMiseToolActionInConsole( command: string, taskName: string, ): Promise { - const outputChannel = vscode.window.createOutputChannel("mise"); - outputChannel.show(); - try { const miseCommand = toolsProvider .getMiseService() .createMiseCommand(command); - outputChannel.appendLine(`> ${miseCommand}`); + logger.info(`> ${miseCommand}`); if (!miseCommand) { logger.warn("Could not find mise binary");