From 99bdc2a0929d4e7036e50e8ce22ce9b0f90f0736 Mon Sep 17 00:00:00 2001 From: Jon Lockwood Date: Sat, 15 Jan 2022 12:26:48 +0930 Subject: [PATCH] fix(commit.py): fix typo that caused exception issue #6 !12 --- conventional_commits/scripts/commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conventional_commits/scripts/commit.py b/conventional_commits/scripts/commit.py index 2f736c2..e6194ea 100755 --- a/conventional_commits/scripts/commit.py +++ b/conventional_commits/scripts/commit.py @@ -13,7 +13,7 @@ get_mr_title = False project_id = '' try: - opts, args = getopt.getopt(sys.argv[1:],"hi:t:ti:p:b",["token=", "title", "project=", "branch=""]) + opts, args = getopt.getopt(sys.argv[1:],"hi:t:ti:p:b",["token=", "title", "project=", "branch="]) except getopt.GetoptError: print('test.py [-c | --commit] [-t | --token {token}]')