We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87dac5c commit 1b2f2c9Copy full SHA for 1b2f2c9
src/utils/utils.ts
@@ -273,7 +273,10 @@ export function getStateIdForTriage(selectedStateName: string): number {
273
}
274
275
export function getIDEName(): string {
276
- return (vscode.env.appName || '').toLowerCase();
+ const appName = (vscode && vscode.env && typeof vscode.env.appName === 'string')
277
+ ? vscode.env.appName
278
+ : '';
279
+ return appName.toLowerCase();
280
281
282
export function isIDE(ideName: string): boolean {
0 commit comments