From fd2b6fb181be020ed5a622d9734fa0cc8bb3ba14 Mon Sep 17 00:00:00 2001 From: rkiel Date: Sun, 7 Jun 2015 20:25:12 -0400 Subject: [PATCH] adding-help: commit did not work --- lib/feature/commit.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/feature/commit.rb b/lib/feature/commit.rb index fbc964d..7e96f39 100644 --- a/lib/feature/commit.rb +++ b/lib/feature/commit.rb @@ -18,14 +18,9 @@ module Feature parts = parse_branch(current_branch) comment = argv.reject { |x| x == '-m' }.join(' ') - if comment.include? ";" - error "invalid character: ';'" - else - comment = "#{parts[:feature]}: #{comment}" - git_commit comment - end - + comment = "#{parts[:feature]}: #{comment}" + git_commit comment end end