You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I add a contributor with a non existant contribution type (bar) an error message is printed 👍 but the contribution is still being added to the .all-contributorsrc file 👎
🍺 ~/git-point (master)*$ yarn contributors:add foo bar
$ all-contributors add foo bar
Unknown contribution type bar for contributor foo
error Command failed with exit code 1.
🍺 ~/git-point (master)*$ git diff .all-contributorsrc
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 3dc0ef3..fc4dee2 100644
--- a/.all-contributorsrc+++ b/.all-contributorsrc@@ -635,6 +635,15 @@
"avatar_url": "https://avatars0.githubusercontent.com/u/3683673?v=4",
"profile": "https://thecodetalker.github.io/",
"contributions": []
+ },+ {+ "login": "foo",+ "name": "Foo Bar",+ "avatar_url": "https://avatars0.githubusercontent.com/u/333184?v=4",+ "profile": "http://dblp2.uni-trier.de/pers/hd/p/Foo:Bar",+ "contributions": [+ "bar"+ ]
}
]
}
What should happen is:
wrong contributions type being reported and not written in
if all contributions types were wrong, the user shouldn't be added in the file
The text was updated successfully, but these errors were encountered:
@machour sorry for keeping lagging on this for too long.
So i tried to reproduce this error, when we add foo bar it does gets added to .all-contributorsrc but not to README.md when you try to generate. Is this correct?
If I add a contributor with a non existant contribution type (
bar
) an error message is printed 👍 but the contribution is still being added to the.all-contributorsrc
file 👎What should happen is:
The text was updated successfully, but these errors were encountered: