Skip to content

Commit ccf50ee

Browse files
committed
chore: fix operator name collision in CI
1 parent 0d1fe2d commit ccf50ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export async function getOperators() {
122122
},
123123
]
124124
}),
125-
(el) => el.name,
125+
(el) => el.id,
126126
).sort((a, b) => {
127127
// 默认的 pinyin.compare() 没有传入 locale 参数,导致在不同的系统上有不同的排序结果,
128128
// 所以这里手动实现一下,并带上 locale

0 commit comments

Comments
 (0)