Skip to content

Commit b9d3331

Browse files
authored
Fix vscode-material-icons path (#3889)
1 parent 8270158 commit b9d3331

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.changeset/salty-geese-relate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Fix vscode-material-icons path

src/core/webview/ClineProvider.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
573573
])
574574

575575
const codiconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "codicons", "codicon.css"])
576-
const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "vscode-material-icons"])
576+
const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, [
577+
"assets",
578+
"vscode-material-icons",
579+
"icons",
580+
])
577581
const imagesUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "images"])
578582
const audioUri = getUri(webview, this.contextProxy.extensionUri, ["webview-ui", "audio"])
579583

@@ -650,7 +654,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
650654

651655
const scriptUri = getUri(webview, this.contextProxy.extensionUri, ["webview-ui", "build", "assets", "index.js"])
652656
const codiconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "codicons", "codicon.css"])
653-
const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "vscode-material-icons"])
657+
const materialIconsUri = getUri(webview, this.contextProxy.extensionUri, [
658+
"assets",
659+
"vscode-material-icons",
660+
"icons",
661+
])
654662
const imagesUri = getUri(webview, this.contextProxy.extensionUri, ["assets", "images"])
655663
const audioUri = getUri(webview, this.contextProxy.extensionUri, ["webview-ui", "audio"])
656664

0 commit comments

Comments
 (0)