diff --git a/gitlint/gitlint_emoji.py b/gitlint/gitlint_emoji.py index 89b5702c5..59c86eafc 100644 --- a/gitlint/gitlint_emoji.py +++ b/gitlint/gitlint_emoji.py @@ -28,7 +28,7 @@ def validate(self, title, _commit): title contains one of them. """ gitmojis = requests.get( - "https://raw.githubusercontent.com/carloscuesta/gitmoji/master/src/data/gitmojis.json" + "https://raw.githubusercontent.com/carloscuesta/gitmoji/master/packages/gitmojis/src/gitmojis.json" ).json()["gitmojis"] emojis = [item["emoji"] for item in gitmojis] pattern = r"^({:s})\(.*\)\s[a-z].*$".format("|".join(emojis))