Skip to content

Commit e1cc8b2

Browse files
author
Kartik Raj
authored
Fix process picker (#14700)
* Workaround VSCode bug for process picker * Fix how we pass in icons to VSCode
1 parent 2541e43 commit e1cc8b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client/common/utils/icons.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import { EXTENSION_ROOT_DIR } from '../../constants';
1010
const darkIconsPath = path.join(EXTENSION_ROOT_DIR, 'resources', 'dark');
1111
const lightIconsPath = path.join(EXTENSION_ROOT_DIR, 'resources', 'light');
1212

13-
export function getIcon(fileName: string): { light: string | Uri; dark: string | Uri } {
13+
export function getIcon(fileName: string): { light: Uri; dark: Uri } {
1414
return {
15-
dark: path.join(darkIconsPath, fileName),
16-
light: path.join(lightIconsPath, fileName)
15+
dark: Uri.file(path.join(darkIconsPath, fileName)),
16+
light: Uri.file(path.join(lightIconsPath, fileName))
1717
};
1818
}

0 commit comments

Comments
 (0)