From 354b5111d4b3a0c3e3ab5603711d81c4abbcf20b Mon Sep 17 00:00:00 2001 From: Jake Bolam Date: Tue, 21 May 2019 02:35:32 -0700 Subject: [PATCH] =?UTF-8?q?feat:=20init=20with=20all-contributors=20emoji?= =?UTF-8?q?=20=E2=9C=A8=20(#136)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: init with all-contributors emoji ✨ * test(init): updated test snapshot --- .../__tests__/__snapshots__/add-contributors-list.js.snap | 4 ++-- src/init/init-content.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/init/__tests__/__snapshots__/add-contributors-list.js.snap b/src/init/__tests__/__snapshots__/add-contributors-list.js.snap index 8ccac35..3877768 100644 --- a/src/init/__tests__/__snapshots__/add-contributors-list.js.snap +++ b/src/init/__tests__/__snapshots__/add-contributors-list.js.snap @@ -2,7 +2,7 @@ exports[`create contributors section if content is empty 1`] = ` " -## Contributors +## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): @@ -17,7 +17,7 @@ exports[`create contributors section if it is absent 1`] = ` "# project Description -## Contributors +## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): diff --git a/src/init/init-content.js b/src/init/init-content.js index c4af5df..20f08eb 100644 --- a/src/init/init-content.js +++ b/src/init/init-content.js @@ -31,7 +31,7 @@ function addContributorsList(lines) { const insertionLine = findContributorsSection(lines) if (insertionLine === -1) { return lines.concat([ - '## Contributors', + '## Contributors ✨', '', headerContent, '',