(mode)
| 57 | } |
| 58 | |
| 59 | function normalizeApprovalMode(mode) { |
| 60 | const normalized = String(mode || '').toLowerCase(); |
| 61 | return Object.prototype.hasOwnProperty.call(APPROVAL_MODE_ORDER, normalized) ? normalized : 'default'; |
| 62 | } |
| 63 | |
| 64 | function computeConnectedHighestApprovalMode() { |
| 65 | if (!state.wss) return 'default'; |
no outgoing calls
no test coverage detected