fix: git sync untracked
This commit is contained in:
1 parent
30d800bc08
commit
454da698a1
3 files changed
+15
-9
No files matched your search
@@ -89,5 +89,18 @@ module.exports = {
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Get file extension from content type
|
||||
*/
|
||||
getFileExtension(contentType) {
|
||||
switch (contentType) {
|
||||
case 'markdown':
|
||||
return 'md'
|
||||
case 'html':
|
||||
return 'html'
|
||||
default:
|
||||
return 'txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user