Skip to content

Commit

Permalink
Change icon name to underscore notation and removed languageIcons entry.
Browse files Browse the repository at this point in the history
Changing from fileExtensions to fileNames the same behaviour is
achieved.
  • Loading branch information
chrsmutti committed Jun 20, 2019
1 parent 2a1afd9 commit bd3b010
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
File renamed without changes
2 changes: 1 addition & 1 deletion src/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export const fileIcons: FileIcons = {
{ name: 'cpp', fileExtensions: ['cc', 'cpp', 'mm', 'cxx'] },
{ name: 'hpp', fileExtensions: ['hpp'] },
{ name: 'go', fileExtensions: ['go'] },
{ name: 'go-mod', fileExtensions: ['go.mod', 'go.sum'] },
{ name: 'go_mod', fileNames: ['go.mod', 'go.sum'] },
{ name: 'python', fileExtensions: ['py'] },
{
name: 'python-misc',
Expand Down
1 change: 0 additions & 1 deletion src/icons/languageIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export const languageIcons: LanguageIcon[] = [
{ icon: { name: 'processing' }, ids: ['processing'] },
{ icon: { name: 'hcl' }, ids: ['hcl'] },
{ icon: { name: 'go' }, ids: ['go'] },
{ icon: { name: 'go-mod' }, ids: ['go.sum', 'go.mod'] },
{ icon: { name: 'go_gopher' }, ids: [] },
{ icon: { name: 'nodejs_alt' }, ids: [] },
{ icon: { name: 'django' }, ids: ['django-html', 'django-txt'] },
Expand Down

0 comments on commit bd3b010

Please sign in to comment.