File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ export class DubDependency extends vscode.TreeItem {
26
26
if ( typeof info == "object" ) {
27
27
this . info = info ;
28
28
this . iconPath = {
29
- light : extensionContext . asAbsolutePath ( path . join ( "images" , "dependency-light.svg" ) ) ,
30
- dark : extensionContext . asAbsolutePath ( path . join ( "images" , "dependency-dark.svg" ) )
29
+ light : vscode . Uri . joinPath ( extensionContext . extensionUri , "images" , "dependency-light.svg" ) ,
30
+ dark : vscode . Uri . joinPath ( extensionContext . extensionUri , "images" , "dependency-dark.svg" )
31
31
} ;
32
32
this . command = {
33
33
command : "code-d.viewDubPackage" ,
@@ -41,8 +41,8 @@ export class DubDependency extends vscode.TreeItem {
41
41
this . command = command ;
42
42
if ( icon )
43
43
this . iconPath = {
44
- light : extensionContext . asAbsolutePath ( path . join ( "images" , icon + "-light.svg" ) ) ,
45
- dark : extensionContext . asAbsolutePath ( path . join ( "images" , icon + "-dark.svg" ) )
44
+ light : vscode . Uri . joinPath ( extensionContext . extensionUri , "images" , icon + "-light.svg" ) ,
45
+ dark : vscode . Uri . joinPath ( extensionContext . extensionUri , "images" , icon + "-dark.svg" )
46
46
} ;
47
47
}
48
48
You can’t perform that action at this time.
0 commit comments