diff --git a/src/generate/__tests__/__snapshots__/index.js.snap b/src/generate/__tests__/__snapshots__/index.js.snap index bc42607..52a0eeb 100644 --- a/src/generate/__tests__/__snapshots__/index.js.snap +++ b/src/generate/__tests__/__snapshots__/index.js.snap @@ -20,6 +20,7 @@ These people contributed to the project: + Thanks a lot everyone!" @@ -51,6 +52,7 @@ These people contributed to the project: + Thanks a lot everyone!" diff --git a/src/generate/__tests__/index.js b/src/generate/__tests__/index.js index a922b38..ece35d5 100644 --- a/src/generate/__tests__/index.js +++ b/src/generate/__tests__/index.js @@ -143,6 +143,7 @@ test('inject nothing if there are no contributors', () => { '', '', '', + '', '', '', 'Thanks a lot everyone!', diff --git a/src/generate/index.js b/src/generate/index.js index 549f8ea..cacc21e 100644 --- a/src/generate/index.js +++ b/src/generate/index.js @@ -31,7 +31,7 @@ function injectListBetweenTags(newContent) { newContent, '', '\n', - '\n', + '\n\n', previousContent.slice(startOfClosingTagIndex), ].join('') }