mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
use UriComponents for SCMRawResource
fixes microsoft/vscode-remote-release#2115
This commit is contained in:
@@ -202,8 +202,8 @@ class MainThreadSCMProvider implements ISCMProvider {
|
||||
const icon = icons[0];
|
||||
const iconDark = icons[1] || icon;
|
||||
const decorations = {
|
||||
icon: icon ? URI.parse(icon) : undefined,
|
||||
iconDark: iconDark ? URI.parse(iconDark) : undefined,
|
||||
icon: icon ? URI.revive(icon) : undefined,
|
||||
iconDark: iconDark ? URI.revive(iconDark) : undefined,
|
||||
tooltip,
|
||||
strikeThrough,
|
||||
faded
|
||||
|
||||
Reference in New Issue
Block a user