Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/generate/__tests__/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ These people contributed to the project:

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

Thanks a lot everyone!"
Expand Down Expand Up @@ -51,6 +52,7 @@ These people contributed to the project:

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

Thanks a lot everyone!"
Expand Down
1 change: 1 addition & 0 deletions src/generate/__tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ test('inject nothing if there are no contributors', () => {
'<!-- markdownlint-disable -->',
'<!-- markdownlint-restore -->',
'<!-- prettier-ignore-end -->',
'',
'<!-- ALL-CONTRIBUTORS-LIST:END -->',
'',
'Thanks a lot everyone!',
Expand Down
2 changes: 1 addition & 1 deletion src/generate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function injectListBetweenTags(newContent) {
newContent,
'<!-- markdownlint-restore -->',
'\n<!-- prettier-ignore-end -->',
'\n',
'\n\n',
previousContent.slice(startOfClosingTagIndex),
].join('')
}
Expand Down