adding-help: commit did not work

This commit is contained in:
rkiel
2015-06-07 20:25:12 -04:00
parent 9e822ca492
commit fd2b6fb181

View File

@@ -18,14 +18,9 @@ module Feature
parts = parse_branch(current_branch) parts = parse_branch(current_branch)
comment = argv.reject { |x| x == '-m' }.join(' ') comment = argv.reject { |x| x == '-m' }.join(' ')
if comment.include? ";" comment = "#{parts[:feature]}: #{comment}"
error "invalid character: ';'"
else
comment = "#{parts[:feature]}: #{comment}"
git_commit comment
end
git_commit comment
end end
end end