mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: prevent throwing an error when the commit type is not detected, just omit it
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user