Skip to content

Commit bc36f29

Browse files
author
Kartik Raj
committed
Fix how we pass in icons to VSCode
1 parent a80115c commit bc36f29

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
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
}

src/client/debugger/extension/attachQuickPick/picker.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export class AttachPicker implements IAttachPicker {
7575
);
7676

7777
quickPick.show();
78-
quickPick.show();
7978
});
8079
}
8180
}

0 commit comments

Comments
 (0)