Skip to content

Commit

Permalink
🚨(project) update gitmoji json link
Browse files Browse the repository at this point in the history
In gitmoji latest release, gitmoji json location has changed
  • Loading branch information
wilbrdt committed Dec 26, 2022
1 parent 5d5e9f3 commit 670b0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlint/gitlint_emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def validate(self, title, _commit):
repository and check that title contains one of them.
"""
gitmojis = requests.get(
"https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json" # noqa
"https://raw.githubusercontent.com/carloscuesta/gitmoji/master/packages/gitmojis/src/gitmojis.json" # noqa
).json()["gitmojis"]
emojis = [item["emoji"] for item in gitmojis]
pattern = r"^({:s})\(.*\)\s[a-z].*$".format("|".join(emojis))
Expand Down

0 comments on commit 670b0db

Please sign in to comment.