(value)
| 234 | } |
| 235 | |
| 236 | function normalizeBasePath(value) { |
| 237 | const raw = (value ?? "").trim(); |
| 238 | if (!raw || raw === "/") return "/"; |
| 239 | |
| 240 | const withLeadingSlash = raw.startsWith("/") ? raw : `/${raw}`; |
| 241 | return withLeadingSlash.replace(/\/+$/, ""); |
| 242 | } |
| 243 | |
| 244 | function showHelp() { |
| 245 | console.log(` |
no outgoing calls
no test coverage detected