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