Commit deabcd8c authored by Rajendra Kadam's avatar Rajendra Kadam

Add suggestion for printing file path

parent 494c4ecd
......@@ -17,7 +17,7 @@ module Gitlab
class_option :ff, type: :boolean, optional: true, default: false, desc: 'Force definition override'
def create_event_file
raise 'Event definition already exists' if definition_exists? && !force_definition_override?
raise "Event definition already exists at #{file_path}" if definition_exists? && !force_definition_override?
template "event_definition.yml", file_path, force: force_definition_override?
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