Commit 5fee7ec1 authored by Lin Jen-Shin's avatar Lin Jen-Shin

It was never used

parent d41e83e9
...@@ -9,7 +9,7 @@ class SlackService ...@@ -9,7 +9,7 @@ class SlackService
attr_reader :user_name attr_reader :user_name
attr_reader :duration attr_reader :duration
def initialize(params, commit = true) def initialize(params)
@sha = params[:sha] @sha = params[:sha]
@ref_type = params[:tag] ? 'tag' : 'branch' @ref_type = params[:tag] ? 'tag' : 'branch'
@ref = params[:ref] @ref = params[:ref]
......
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