* * @param {String} file * @returns {String|null}
(file)
| 5 | * @returns {String|null} |
| 6 | */ |
| 7 | function getFrontmatterContent(file) { |
| 8 | const frontmatterMatch = file.match(frontmatterRegex); |
| 9 | return frontmatterMatch !== null ? frontmatterMatch[0] : null; |
| 10 | } |
| 11 | /** |
| 12 | * |
| 13 | * @param {String} frontmatter |
no outgoing calls
no test coverage detected