Commit 1269faa6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #8503 from cirosantilli/unused-ex-var

Remove unused ex local variable from event.rb
parents 842f9e03 a2afc5c3
...@@ -174,7 +174,7 @@ class Event < ActiveRecord::Base ...@@ -174,7 +174,7 @@ class Event < ActiveRecord::Base
def valid_push? def valid_push?
data[:ref] && ref_name.present? data[:ref] && ref_name.present?
rescue => ex rescue
false false
end 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