Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
on_conflict_behavior(&block)
protected
Now on conflict we check if the file is identical or not.
# File lib/bundler/vendor/thor/lib/thor/actions/create_file.rb, line 72
def on_conflict_behavior(&block)
if identical?
say_status :identical, :blue
else
options = base.options.merge(config)
force_or_skip_or_conflict(options[:force], options[:skip], &block)
end
end