Skip to content

Commit cd32e11

Browse files
author
gemini2035
committed
fixed(scripts): emergency bug fixed!
1 parent cb561fd commit cd32e11

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

scripts/shared.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,6 @@ function transformOperatorName(name: string) {
3737
const traditional = simplebig.s2t(name) as string
3838
const cleanedTraditional = traditional.replace(/["]/g, '')
3939

40-
const fullPinyin = pinyin(cleanedName, {
41-
segment: true,
42-
style: pinyin.STYLE_NORMAL,
43-
})
44-
const partialPinyin = pinyin(cleanedName, {
45-
segment: true,
46-
style: pinyin.STYLE_FIRST_LETTER,
47-
})
4840
return {
4941
name,
5042
alias: uniq([

0 commit comments

Comments
 (0)