From ef92b8e1df16f75ab1752eaddda216d2c3955dea Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Wed, 17 Jul 2024 08:09:39 -0700 Subject: [PATCH] `cwd` isn't set by default when using clients other than vscode Fixes #2040 --- src/configuration.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/configuration.ts b/src/configuration.ts index aef24d94f..5ba1a166d 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -2,6 +2,7 @@ * Copyright (C) Microsoft Corporation. All rights reserved. *--------------------------------------------------------*/ +import { homedir } from 'os'; import { SourceMapTimeouts } from './adapter/sourceContainer'; import { DebugType } from './common/contributionUtils'; import { assertNever, filterValues } from './common/objUtils'; @@ -1103,7 +1104,8 @@ export function removeOptionalWorkspaceFolderUsages