Skip to content

Commit d534baa

Browse files
committed
fix: icon path.
1 parent 900f240 commit d534baa

File tree

9 files changed

+3
-3
lines changed

9 files changed

+3
-3
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"onCommand:codingPlugin.login",
1616
"onView:mrTreeView"
1717
],
18-
"icon": "src/assets/coding.png",
18+
"icon": "assets/coding.png",
1919
"repository": {
2020
"type": "git",
2121
"url": "https://github.com/cangzhang/coding-vscode.git"
@@ -97,7 +97,7 @@
9797
{
9898
"id": "codingPluginTree",
9999
"title": "CODING",
100-
"icon": "src/assets/coding.png"
100+
"icon": "assets/coding.png"
101101
}
102102
]
103103
},

src/tree/mrTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ enum ItemType {
2121
}
2222

2323
const getIcon = (name: string, theme: string) =>
24-
path.join(__filename, `../../../src/assets/${theme}/${name}.png`);
24+
path.join(__filename, `../../../assets/${theme}/${name}.png`);
2525

2626
const FileModeIcons: {
2727
[key: string]: { light: string | vscode.Uri; dark: string | vscode.Uri };

0 commit comments

Comments
 (0)