From 1ec3f1a9e95d50ede56e1159b1ecc6172d4eb219 Mon Sep 17 00:00:00 2001 From: David Hasani Date: Thu, 16 Jan 2025 14:29:22 -0800 Subject: [PATCH] fix logging --- .../service/transformByQ/transformMavenHandler.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/core/src/codewhisperer/service/transformByQ/transformMavenHandler.ts b/packages/core/src/codewhisperer/service/transformByQ/transformMavenHandler.ts index f9da1e92fe..e2bbbc6556 100644 --- a/packages/core/src/codewhisperer/service/transformByQ/transformMavenHandler.ts +++ b/packages/core/src/codewhisperer/service/transformByQ/transformMavenHandler.ts @@ -109,9 +109,7 @@ function copyProjectDependencies(dependenciesFolder: FolderInfo, modulePath: str export async function prepareProjectDependencies(dependenciesFolder: FolderInfo, rootPomPath: string) { await setMaven() - getLogger().info( - `CodeTransformation: about to build project locally with Maven ${transformByQState.getMavenName()}` - ) + getLogger().info('CodeTransformation: running Maven copy-dependencies') try { copyProjectDependencies(dependenciesFolder, rootPomPath) } catch (err) { @@ -121,6 +119,7 @@ export async function prepareProjectDependencies(dependenciesFolder: FolderInfo, ) } + getLogger().info('CodeTransformation: running Maven install') try { installProjectDependencies(dependenciesFolder, rootPomPath) } catch (err) {