File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ import * as vscode from 'vscode';
44import { startDebuggingAndWaitForStop } from '../session' ;
55import {
66 activateCopilotDebugger ,
7+ getExtensionRoot ,
78 openScriptDocument ,
89 stopAllDebugSessions ,
9- getExtensionRoot ,
1010} from './utils/startDebuggerToolTestUtils' ;
1111
1212/**
Original file line number Diff line number Diff line change @@ -76,10 +76,14 @@ export async function invokeStartDebuggerTool(
7676 let rawValue : string ;
7777 // Use indexed access via casting to loose object type
7878 const loose = firstPart as { [ k : string ] : unknown } ;
79- if ( typeof loose . value === 'string' ) rawValue = loose . value ;
80- else if ( typeof loose . text === 'string' ) rawValue = loose . text ;
81- else rawValue = JSON . stringify ( firstPart ) ;
82- // eslint-disable-next-line no-console
79+ if ( typeof loose . value === 'string' ) {
80+ rawValue = loose . value ;
81+ } else if ( typeof loose . text === 'string' ) {
82+ rawValue = loose . text ;
83+ } else {
84+ rawValue = JSON . stringify ( firstPart ) ;
85+ }
86+
8387 console . log ( '[invokeStartDebuggerTool] raw output:' , rawValue ) ;
8488 }
8589 } catch {
You can’t perform that action at this time.
0 commit comments