전략 상세설명 수정
This commit is contained in:
@@ -227,10 +227,8 @@ function describeNode(
|
||||
if (depth === 0 && children.length > 1) {
|
||||
lines.push('다음 조건을 모두 동시에 만족해야 합니다.');
|
||||
}
|
||||
children.forEach((child, i) => {
|
||||
const sub = describeNode(child, signalType, def, depth + 1);
|
||||
if (children.length > 1) lines.push(`${i + 1})`);
|
||||
lines.push(...sub);
|
||||
children.forEach(child => {
|
||||
lines.push(...describeNode(child, signalType, def, depth + 1));
|
||||
});
|
||||
return lines;
|
||||
}
|
||||
@@ -242,10 +240,8 @@ function describeNode(
|
||||
if (depth === 0 && children.length > 1) {
|
||||
lines.push('다음 조건 중 하나라도 만족하면 됩니다.');
|
||||
}
|
||||
children.forEach((child, i) => {
|
||||
const sub = describeNode(child, signalType, def, depth + 1);
|
||||
if (children.length > 1) lines.push(`${i + 1})`);
|
||||
lines.push(...sub);
|
||||
children.forEach(child => {
|
||||
lines.push(...describeNode(child, signalType, def, depth + 1));
|
||||
});
|
||||
return lines;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user