File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -908,11 +908,9 @@ export class DefaultClient implements Client {
908
908
for ( let i : number = 0 ; i < paths . length ; i ++ ) {
909
909
let option : string | undefined ;
910
910
let isCompiler : boolean = false ;
911
- let isCl : boolean = false ;
912
911
const slash : string = ( os . platform ( ) === 'win32' ) ? "\\" : "/" ;
913
912
914
913
if ( paths [ i ] . includes ( slash ) ) {
915
- isCl = util . isCl ( paths [ i ] ) ;
916
914
if ( paths [ i ] . split ( slash ) . pop ( ) !== undefined ) {
917
915
option = paths [ i ] . split ( slash ) . pop ( ) ;
918
916
isCompiler = true ;
@@ -921,7 +919,7 @@ export class DefaultClient implements Client {
921
919
922
920
if ( option !== undefined && isCompiler ) {
923
921
const path : string | undefined = paths [ i ] . replace ( option , "" ) ;
924
- const description : string = isCl ? "" : localize ( "found.string" , "Found at {0}" , path ) ;
922
+ const description : string = localize ( "found.string" , "Found at {0}" , path ) ;
925
923
items . push ( { label : option , description : description , index : i } ) ;
926
924
} else {
927
925
items . push ( { label : paths [ i ] , index : i } ) ;
You can’t perform that action at this time.
0 commit comments