Skip to content

Commit

Permalink
fix: fix error when defined 2 icons for one file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
okineadev authored Oct 29, 2024
1 parent 8cb60e0 commit da236b5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/core/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2737,6 +2737,19 @@ export const fileIcons: FileIcons = {
name: 'pre-commit',
fileNames: ['.pre-commit-config.yaml', '.pre-commit-hooks.yaml'],
},
{ name: 'controller', fileExtensions: ['controller.js', 'controller.ts'] },
{
name: 'controller',
fileExtensions: ['controller.js', 'controller.ts'],
enabledFor: [
// Not for Nest
IconPack.Angular,
IconPack.Ngrx,
IconPack.Qwik,
IconPack.React,
IconPack.Redux,
IconPack.Vue,
IconPack.Vuex,
],
},
]),
};

0 comments on commit da236b5

Please sign in to comment.