diff --git a/dev/tool/src/index.ts b/dev/tool/src/index.ts index 3f26bae7d8..d624a32500 100644 --- a/dev/tool/src/index.ts +++ b/dev/tool/src/index.ts @@ -335,9 +335,7 @@ export function devTool ( const rawRole = typeof raw === 'string' ? raw.trim() : String(raw ?? 'User').trim() const normalized = rawRole.trim().toLowerCase() - const match = Object.values(AccountRole).find( - (v) => v.toLowerCase() === normalized - ) + const match = Object.values(AccountRole).find((v) => v.toLowerCase() === normalized) if (match !== undefined) return match switch (normalized) {