mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 04:43:57 +00:00
refactor(deadcode): localize UI and script symbols (#101858)
This commit is contained in:
@@ -41,7 +41,7 @@ const AUDIT_ADVISORY_VERSION_OVERRIDES = [
|
||||
},
|
||||
];
|
||||
|
||||
export function normalizeAuditLevel(level) {
|
||||
function normalizeAuditLevel(level) {
|
||||
const normalized = String(level ?? "").toLowerCase();
|
||||
if (normalized in SEVERITY_RANK) {
|
||||
return normalized;
|
||||
|
||||
Reference in New Issue
Block a user