Commit 494c4ecd authored by Rajendra Kadam's avatar Rajendra Kadam

Add force in template creation

parent 38d4d475
...@@ -19,7 +19,7 @@ module Gitlab ...@@ -19,7 +19,7 @@ module Gitlab
def create_event_file def create_event_file
raise 'Event definition already exists' if definition_exists? && !force_definition_override? raise 'Event definition already exists' if definition_exists? && !force_definition_override?
template "event_definition.yml", file_path template "event_definition.yml", file_path, force: force_definition_override?
end end
def distributions def distributions
......
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