(value)
| 171 | } |
| 172 | |
| 173 | function normalizeBasePath(value) { |
| 174 | const raw = (value ?? "").trim(); |
| 175 | if (!raw || raw === "/") return "/"; |
| 176 | |
| 177 | const withLeadingSlash = raw.startsWith("/") ? raw : `/${raw}`; |
| 178 | return withLeadingSlash.replace(/\/+$/, ""); |
| 179 | } |
| 180 | |
| 181 | function showHelp() { |
| 182 | console.log(` |
no outgoing calls
no test coverage detected