Commit 38baac9a authored by Jochen's avatar Jochen 🎱
Browse files

Fix tinyurl

parent fb553d43
.DS_Store
config/config.yml
irc.log
tmp/msg.txt
......@@ -16,8 +16,7 @@ class MessageFormatter
info['commits'].each do |ci|
url = ci['url']
ci_title = ci['message'].lines.first.chomp
# short = config['msg']['short_uri'] ? "#{short_url(url)}" : "#{url}"
short = short_url("http://www.google.com/huhuhuhuhuhuhuxxxx")
short = config['msg']['short_uri'] ? "#{short_url(url)}" : "#{url}"
msg = "[#{info['repository']['name'].capitalize}(#{branch})] by #{ci['author']['name']} | #{ci_title} | #{short}"
msgs << msg
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment