File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
lldb/tools/lldb-dap/src-ts Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,9 @@ export async function createDebugAdapterExecutable(
169
169
workspaceFolder : vscode . WorkspaceFolder | undefined ,
170
170
configuration : vscode . DebugConfiguration ,
171
171
) : Promise < vscode . DebugAdapterExecutable > {
172
- const config = vscode . workspace . workspaceFile ? vscode . workspace . getConfiguration ( "lldb-dap" ) : vscode . workspace . getConfiguration ( "lldb-dap" , workspaceFolder ) ;
172
+ const config = vscode . workspace . workspaceFile
173
+ ? vscode . workspace . getConfiguration ( "lldb-dap" )
174
+ : vscode . workspace . getConfiguration ( "lldb-dap" , workspaceFolder ) ;
173
175
const log_path = config . get < string > ( "log-path" ) ;
174
176
let env : { [ key : string ] : string } = { } ;
175
177
if ( log_path ) {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class LLDBDapServer implements vscode.Disposable {
26
26
args : string [ ] ,
27
27
options ?: child_process . SpawnOptionsWithoutStdio ,
28
28
) : Promise < { host : string ; port : number } | undefined > {
29
- const dapArgs = [ ...args , "--connection" , "listen://localhost:0" ] ;
29
+ const dapArgs = [ ...args , "--connection" , "listen://localhost:0" ] ;
30
30
if ( ! ( await this . shouldContinueStartup ( dapPath , dapArgs ) ) ) {
31
31
return undefined ;
32
32
}
You can’t perform that action at this time.
0 commit comments