Remove any trailing .md
(p: string)
| 24 | |
| 25 | /** Remove any trailing .md */ |
| 26 | function stripExtension(p: string): string { |
| 27 | return p.replace(`${extname(p)}`, '') |
| 28 | } |
| 29 | |
| 30 | function relativeLinkExists(link: string, file: string): boolean { |
| 31 | // Remove hash if present |
no outgoing calls
no test coverage detected