mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
fix: 修复解析文件图标映射时的空格处理
This commit is contained in:
parent
420e1e288e
commit
0f79c81e07
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ function parseFileIconMapCSV() {
|
|||
const fileExtensionIndex = new Map<string, string>()
|
||||
for (const line of rawFileIconIndex.split(rowSeparator)) {
|
||||
if (!line) continue
|
||||
const [name, names, exts] = line.split(colSeparator)
|
||||
const [name, names, exts] = line.trim().split(colSeparator)
|
||||
if (names) {
|
||||
for (const filename of names.split(arraySeparator)) {
|
||||
if (!filename) continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue