diff --git a/icons/go-mod.svg b/icons/go_mod.svg similarity index 100% rename from icons/go-mod.svg rename to icons/go_mod.svg diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 7a9a54197f..78b99fd5ef 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -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', diff --git a/src/icons/languageIcons.ts b/src/icons/languageIcons.ts index 97d0507ceb..0988744cd8 100644 --- a/src/icons/languageIcons.ts +++ b/src/icons/languageIcons.ts @@ -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'] },