File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1- import * as path from 'path' ;
21import { Uri } from 'vscode' ;
32import { ENVS_EXTENSION_ID , PYTHON_EXTENSION_ID } from '../constants' ;
43import { parseStack } from '../errors/utils' ;
@@ -26,7 +25,6 @@ function getPathFromFrame(frame: FrameData): string {
2625
2726export function getCallingExtension ( ) : string {
2827 const pythonExts = [ ENVS_EXTENSION_ID , PYTHON_EXTENSION_ID ] ;
29- const execPath = normalizePath ( path . dirname ( process . execPath ) ) ;
3028 const extensions = allExtensions ( ) ;
3129 const otherExts = extensions . filter ( ( ext ) => ! pythonExts . includes ( ext . id ) ) ;
3230 const frames = getFrameData ( ) ;
@@ -41,7 +39,7 @@ export function getCallingExtension(): string {
4139 continue ;
4240 }
4341
44- if ( filePath . startsWith ( execPath ) && filePath . endsWith ( 'extensionhostprocess.js' ) ) {
42+ if ( filePath . toLowerCase ( ) . endsWith ( 'extensionhostprocess.js' ) ) {
4543 continue ;
4644 }
4745
You can’t perform that action at this time.
0 commit comments