mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 13:36: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`] = `
|
||||
"
|
||||
## 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)):
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ function addContributorsList(lines) {
|
|||
const insertionLine = findContributorsSection(lines)
|
||||
if (insertionLine === -1) {
|
||||
return lines.concat([
|
||||
'## Contributors',
|
||||
'## Contributors ✨',
|
||||
'',
|
||||
headerContent,
|
||||
'',
|
||||
|
|
Loading…
Reference in a new issue