fix: prevent throwing an error when the commit type is not detected, just omit it

This commit is contained in:
Serhiy Mytrovtsiy
2022-12-20 22:56:15 +01:00
parent 810ec885ab
commit a8a33098c3

View File

@@ -57,7 +57,7 @@ class Changelog:
elif self.langPattern.match(line) or "translation" in line or "localization" in line:
lang.append(line)
else:
raise ValueError("Failed to detect commit {} type".format(line))
print("Failed to detect commit {} type".format(line))
return fix, feat, lang