Skip to content

Commit

Permalink
fix: Newline in changelog frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed May 18, 2023
1 parent 31a90a6 commit cc35849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/github.io/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ packageJson.workspaces.forEach(async workspace => {
const docs = await readFiles(await readDir(path.join(workspace, 'build', 'docs', 'markdown'), { recursive: true }), path.join(workspace, 'build', 'docs', 'markdown'))

docs['index.md'] = (await readText(path.join(workspace, 'README.md')))
docs['changelog.md'] = '---\ntitle: Change Log\n---' + (await readText(path.join(workspace, 'CHANGELOG.md')))
docs['changelog.md'] = '---\ntitle: Change Log\n---\n' + (await readText(path.join(workspace, 'CHANGELOG.md')))

// point to new output location
Object.keys(docs).forEach(ref => {
Expand Down

0 comments on commit cc35849

Please sign in to comment.