Skip to content

Commit 75294db

Browse files
committed
chore(release): 0.0.14
1 parent 69a24bd commit 75294db

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/test/autoSelectLaunchConfig.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import * as vscode from 'vscode';
44
import { startDebuggingAndWaitForStop } from '../session';
55
import {
66
activateCopilotDebugger,
7+
getExtensionRoot,
78
openScriptDocument,
89
stopAllDebugSessions,
9-
getExtensionRoot,
1010
} from './utils/startDebuggerToolTestUtils';
1111

1212
/**

src/test/utils/startDebuggerToolTestUtils.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)