From df8b1f263bafd99666b54bc400575452dc4392a4 Mon Sep 17 00:00:00 2001 From: Andre Filho Date: Wed, 22 May 2019 11:56:19 -0300 Subject: [PATCH] fix(tagged): commit_message error --- VERSION.txt | 2 +- commit_helper/utils/flag_commit_handler.py | 1 + commit_helper/utils/utils.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION.txt b/VERSION.txt index d237f43..3c80ead 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -3.4.16 +3.4.17 diff --git a/commit_helper/utils/flag_commit_handler.py b/commit_helper/utils/flag_commit_handler.py index f0a5a9c..368793f 100644 --- a/commit_helper/utils/flag_commit_handler.py +++ b/commit_helper/utils/flag_commit_handler.py @@ -12,6 +12,7 @@ def convention_flag_handler(args, debug_mode): convention = str(args.convention) debug('convention flag', convention, debug_mode) + commit_message = '' if convention == 'message': if args.message is not '': diff --git a/commit_helper/utils/utils.py b/commit_helper/utils/utils.py index ac40391..4952652 100644 --- a/commit_helper/utils/utils.py +++ b/commit_helper/utils/utils.py @@ -91,6 +91,7 @@ def validate_commiter_file(stream_file): # pragma: no cover def handle_conventioned_commit(convention, args): tag, message = handle_tag_message_args(args.tag, args.message) + commit_message = '' if convention == 'angular' or convention == 'karma': context = handle_context_arg(args.context)