(value)
| 209 | } |
| 210 | |
| 211 | function normalizeBasePath(value) { |
| 212 | const raw = (value ?? "").trim(); |
| 213 | if (!raw || raw === "/") return "/"; |
| 214 | |
| 215 | const withLeadingSlash = raw.startsWith("/") ? raw : `/${raw}`; |
| 216 | return withLeadingSlash.replace(/\/+$/, ""); |
| 217 | } |
| 218 | |
| 219 | function showHelp() { |
| 220 | console.log(` |
no outgoing calls
no test coverage detected