diff --git a/check_jira_tag.py b/check_jira_tag.py index c58067f..7c1f6cf 100755 --- a/check_jira_tag.py +++ b/check_jira_tag.py @@ -64,7 +64,7 @@ def main() -> int: exit_code = 1 #: Get commit msg - if len(sys.argv) > 2: + if len(sys.argv) >= 2: with open(sys.argv[1]) as file: c_msg = file.read()