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 {
2626 if ( typeof info == "object" ) {
2727 this . info = info ;
2828 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" )
3131 } ;
3232 this . command = {
3333 command : "code-d.viewDubPackage" ,
@@ -41,8 +41,8 @@ export class DubDependency extends vscode.TreeItem {
4141 this . command = command ;
4242 if ( icon )
4343 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" )
4646 } ;
4747 }
4848
You can’t perform that action at this time.
0 commit comments