(productDir, link, filename)
| 215 | }) |
| 216 | |
| 217 | function getPath(productDir, link, filename) { |
| 218 | return path.join(productDir, link, `${filename}.md`) |
| 219 | } |
| 220 | |
| 221 | function formatArticleError(message, articles) { |
| 222 | return `${message}\n - ${articles.join('\n - ')}` |