Commit 90fc5372 authored by Rajendra Kadam's avatar Rajendra Kadam

Add force in template creation

parent 0fb3f6e2
......@@ -19,7 +19,7 @@ module Gitlab
def create_event_file
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
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