Skip to content

Commit

Permalink
fix(設定): add "or key" to errmsg "missing type"
Browse files Browse the repository at this point in the history
  • Loading branch information
syimyuzya committed Aug 4, 2024
1 parent 95248be commit fb77aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/推導設定.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export default class 推導設定 {

return [設定項 as Parameter];
} else if (!("type" in 原始設定項)) {
解析錯誤.push(`item #${i}: missing type`);
解析錯誤.push(`item #${i}: missing type or key`);
return [];
} else if (原始設定項.type === "groupLabel") {
if (!("text" in 原始設定項)) {
Expand Down

0 comments on commit fb77aad

Please sign in to comment.