Skip to content
Snippets Groups Projects
Commit 27326ac6 authored by Stan Hu's avatar Stan Hu
Browse files

Associate Rakefile with Ruby icon in diffs

parent 4127b357
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -549,6 +549,7 @@ const fileNameIcons = {
jenkinsfile: 'jenkins',
'firebase.json': 'firebase',
'.firebaserc': 'firebase',
Rakefile: 'ruby',
'rollup.config.js': 'rollup',
'rollup.config.ts': 'rollup',
'rollup-config.js': 'rollup',
Loading
Loading
@@ -583,7 +584,5 @@ const fileNameIcons = {
};
 
export default function getIconForFile(name) {
return fileNameIcons[name] ||
fileExtensionIcons[name ? name.split('.').pop() : ''] ||
'';
return fileNameIcons[name] || fileExtensionIcons[name ? name.split('.').pop() : ''] || '';
}
---
title: Associate Rakefile with Ruby icon in diffs
merge_request:
author:
type: other
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment