mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-10 05:56:29 +00:00
feat: init with all-contributors emoji ✨ (#136)
* feat: init with all-contributors emoji ✨
* test(init): updated test snapshot
This commit is contained in:
parent
ebff1e8b88
commit
354b5111d4
2 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
exports[`create contributors section if content is empty 1`] = `
|
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)):
|
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
|
"# project
|
||||||
|
|
||||||
Description
|
Description
|
||||||
## Contributors
|
## Contributors ✨
|
||||||
|
|
||||||
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ function addContributorsList(lines) {
|
||||||
const insertionLine = findContributorsSection(lines)
|
const insertionLine = findContributorsSection(lines)
|
||||||
if (insertionLine === -1) {
|
if (insertionLine === -1) {
|
||||||
return lines.concat([
|
return lines.concat([
|
||||||
'## Contributors',
|
'## Contributors ✨',
|
||||||
'',
|
'',
|
||||||
headerContent,
|
headerContent,
|
||||||
'',
|
'',
|
||||||
|
|
Loading…
Reference in a new issue