File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ export class PythonDebugger extends DebugSession {
370370 protected convertDebuggerPathToClient ( remotePath : string ) : string {
371371 if ( this . attachArgs && this . attachArgs . localRoot && this . attachArgs . remoteRoot ) {
372372 let path2 = path . win32 ;
373- if ( this . attachArgs . remoteRoot . indexOf ( '/' ) != - 1 ) {
373+ if ( this . attachArgs . remoteRoot . indexOf ( '/' ) !== - 1 ) {
374374 path2 = path . posix ;
375375 }
376376 let pathRelativeToSourceRoot = path2 . relative ( this . attachArgs . remoteRoot , remotePath ) ;
@@ -388,7 +388,7 @@ export class PythonDebugger extends DebugSession {
388388 const pathRelativeToClientRoot = path . relative ( this . attachArgs . localRoot , clientPath ) ;
389389 // resolve from the remote source root
390390 let path2 = path . win32 ;
391- if ( this . attachArgs . remoteRoot . indexOf ( '/' ) != - 1 ) {
391+ if ( this . attachArgs . remoteRoot . indexOf ( '/' ) !== - 1 ) {
392392 path2 = path . posix ;
393393 }
394394 return path2 . resolve ( this . attachArgs . remoteRoot , pathRelativeToClientRoot ) ;
You can’t perform that action at this time.
0 commit comments