lib/bundler/vendor/thor/lib/thor/actions/create_link.rb in bundler-2.1.4 vs lib/bundler/vendor/thor/lib/thor/actions/create_link.rb in bundler-2.2.0.rc.1

- old
+ new

@@ -31,10 +31,11 @@ # # ==== Returns # Boolean:: true if it is identical, false otherwise. # def identical? - exists? && File.identical?(render, destination) + source = File.expand_path(render, File.dirname(destination)) + exists? && File.identical?(source, destination) end def invoke! invoke_with_conflict_check do require "fileutils"