(manifest, agentEnabled)
| 27 | * @returns {T} |
| 28 | */ |
| 29 | export function applyAgentManifest(manifest, agentEnabled) { |
| 30 | if (agentEnabled) return manifest; |
| 31 | return { |
| 32 | ...manifest, |
| 33 | permissions: (manifest.permissions || []).filter((permission) => permission !== "debugger"), |
| 34 | }; |
| 35 | } |
no outgoing calls
no test coverage detected