(value)
| 328 | } |
| 329 | |
| 330 | function parsePluginConfig(value) { |
| 331 | const trimmed = value.trim(); |
| 332 | |
| 333 | if (trimmed.startsWith('{')) { |
| 334 | return JSON.parse(trimmed); |
| 335 | } |
| 336 | |
| 337 | return trimmed; |
| 338 | } |
| 339 | |
| 340 | function parseInteger(value) { |
| 341 | const parsed = Number.parseInt(value, 10); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…