From d26cd47c817ffbbcdc7362b50c0d066fc2820975 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sun, 24 May 2020 01:43:59 +0100 Subject: [PATCH] docs: add MarceloAlves as a contributor (#222) * docs: update README.md * docs: update .all-contributorsrc * docs(readme): re-generated the table * docs(readme): table fix * fix(generate): experimental fix Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Berkmann18 --- .all-contributorsrc | 3 ++- README.md | 14 ++++++++------ src/generate/index.js | 2 +- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index efc7524..cdd56bb 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -369,7 +369,8 @@ "avatar_url": "https://avatars1.githubusercontent.com/u/216782?v=4", "profile": "https://github.com/marceloalves", "contributions": [ - "code" + "code", + "test" ] }, { diff --git a/README.md b/README.md index 190cee9..f790222 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ -- [The problem](#the-problem) -- [This solution](#this-solution) -- [Using the all-contributors-cli](#using-the-all-contributors-cli) -- [Contributors ✨](#contributors-%e2%9c%a8) -- [LICENSE](#license) +- [ all-contributors-cli ](#all-contributors-cli) + - [The problem](#the-problem) + - [This solution](#this-solution) + - [Using the all-contributors-cli](#using-the-all-contributors-cli) + - [Contributors ✨](#contributors-) + - [LICENSE](#license) @@ -128,7 +129,7 @@ Thanks goes to these wonderful people
Fabrizio

🐛 💻 -
Marcelo Alves

💻 +
Marcelo Alves

💻 ⚠️
Nicolas Goutay

💻
Tyler Krupicka

💻 ⚠️
Stefano Moia

💻 @@ -137,6 +138,7 @@ Thanks goes to these wonderful people + This project follows the diff --git a/src/generate/index.js b/src/generate/index.js index c5be533..8cbb414 100644 --- a/src/generate/index.js +++ b/src/generate/index.js @@ -45,7 +45,7 @@ function formatLine(contributors) { function generateContributorsList(options, contributors) { return _.flow( - _.sortBy(function(contributor) { + _.sortBy(contributor => { if (options.contributorsSortAlphabetically) { return contributor.name }