Skip to content

Commit 776809e

Browse files
committed
fix git
1 parent bec0a82 commit 776809e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/Files/DirectoryEntry/Entry/EntryIcons/GetIconURL.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const icons = {
5454

5555
async function getIconURL(type) {
5656
const base =
57-
'https://cdn.rawgit.com/PKief/vscode-material-icon-theme/e04ab459/icons/';
57+
'https://cdn.rawgit.com/PKief/vscode-material-icon-theme/e04ab459/icons';
5858

5959
let url;
6060

packages/app/src/app/utils/get-type.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export function getMode(title: string = '') {
3131
if (sassRegex.test(removeIgnoreTitle)) return 'sass';
3232
if (!removeIgnoreTitle.includes('.')) return 'raw';
3333
if (removeIgnoreTitle.startsWith('.flow')) return 'flow';
34+
if (removeIgnoreTitle.startsWith('.git')) return 'git';
3435
if (
3536
removeIgnoreTitle.endsWith('.module.ts') ||
3637
removeIgnoreTitle.endsWith('.component.ts')

0 commit comments

Comments
 (0)