Skip to content

Commit

Permalink
fix(icons-v1): Display icons for all resources
Browse files Browse the repository at this point in the history
Signed-off-by: zFernand0 <[email protected]>
  • Loading branch information
zFernand0 committed Feb 27, 2024
1 parent 68fc2f4 commit 88d49aa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .vscode/extension.json

This file was deleted.

1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
// Standardize on the Prettier formatter
"editor.defaultFormatter": "esbenp.prettier-vscode",
// Enforce prettier on save
"editor.formatOnSave": true,
"npm.packageManager": "npm",
"eslint.packageManager": "npm"
}
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/vsce/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to the "cics-extension-for-zowe" extension will be documented in this file.

## Recent Changes

- BugFix: Fixed icons not displaying.[#112](https://github.com/zowe/cics-for-zowe-client/issues/112)
- BugFix: Updated dependencies for technical currency

## `1.3.1`

- BugFix: Updated dependencies for technical currency
Expand Down
6 changes: 4 additions & 2 deletions packages/vsce/src/utils/getIconPath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import { join } from "path";

export function getIconPathInResources(iconFileNameLight: string, iconFileNameDark: string) {
return {
light: join(__dirname, "..", "..", "resources", "imgs", iconFileNameLight),
dark: join(__dirname, "..", "..", "resources", "imgs", iconFileNameDark),
// We bundle the extension into a single `dist/extension.js`
// `__dirname/../resources/imgs === `/path/to/dist/../resources/imgs`
light: join(__dirname, "..", "resources", "imgs", iconFileNameLight),
dark: join(__dirname, "..", "resources", "imgs", iconFileNameDark),
};
}

0 comments on commit 88d49aa

Please sign in to comment.