mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 20:00:42 +00:00
lint: enforce exhaustive switches
This commit is contained in:
@@ -267,6 +267,8 @@ function scoreClaimMatch(params: {
|
||||
case "unknown":
|
||||
score -= 4;
|
||||
break;
|
||||
case undefined:
|
||||
break;
|
||||
}
|
||||
score += isClaimContestedStatus(params.status) ? -6 : 4;
|
||||
return score;
|
||||
|
||||
Reference in New Issue
Block a user