diff options
Diffstat (limited to 'lib/bundler/vendor/thor/actions/create_link.rb')
-rw-r--r-- | lib/bundler/vendor/thor/actions/create_link.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/vendor/thor/actions/create_link.rb b/lib/bundler/vendor/thor/actions/create_link.rb index 864a1e99..1975644a 100644 --- a/lib/bundler/vendor/thor/actions/create_link.rb +++ b/lib/bundler/vendor/thor/actions/create_link.rb @@ -41,7 +41,7 @@ class Thor invoke_with_conflict_check do FileUtils.mkdir_p(File.dirname(destination)) # Create a symlink by default - config[:symbolic] = true if config[:symbolic].nil? + config[:symbolic] ||= true File.unlink(destination) if exists? if config[:symbolic] File.symlink(render, destination) |