(filePath: string)
| 15 | } |
| 16 | |
| 17 | function isSupportedMarkdownFile(filePath: string): boolean { |
| 18 | return ( |
| 19 | filePath.toLowerCase().endsWith('.md') |
| 20 | && !filePath.toLowerCase().endsWith('.excalidraw.md') |
| 21 | ) |
| 22 | } |
| 23 | |
| 24 | function getFolderPath(filePath: string): string[] { |
| 25 | const directory = path.posix.dirname(filePath) |
no outgoing calls
no test coverage detected