From 833bf96e925b254cf3d4a91e95ba9fbd2bd706f9 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Thu, 23 Jan 2025 06:55:34 +1100 Subject: [PATCH] Add home path to debug logs --- src/extension.common.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/extension.common.ts b/src/extension.common.ts index e8f7594b91a..06dcd726868 100644 --- a/src/extension.common.ts +++ b/src/extension.common.ts @@ -83,13 +83,12 @@ export async function initializeLoggers( if (options?.platform) { standardOutputChannel.appendLine(`Platform: ${options.platform} (${options.arch}).`); } + standardOutputChannel.appendLine(`Home = ${options?.homePath}`); standardOutputChannel.appendLine(`Temp Storage folder ${getDisplayPath(await getExtensionTempDir(context))}`); if (!workspace.workspaceFolders || workspace.workspaceFolders.length === 0) { standardOutputChannel.appendLine(`No workspace folder opened.`); } else if (workspace.workspaceFolders.length === 1) { - standardOutputChannel.appendLine( - `Workspace folder ${getDisplayPath(workspace.workspaceFolders[0].uri)}, Home = ${options?.homePath}` - ); + standardOutputChannel.appendLine(`Workspace folder ${getDisplayPath(workspace.workspaceFolders[0].uri)}`); } else { standardOutputChannel.appendLine( `Multiple Workspace folders opened ${workspace.workspaceFolders