summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-04-07 14:18:02 -0700
committerAndre Arko <andre@arko.net>2014-04-07 14:18:02 -0700
commit731303445364cdfb705908f3b5952c9764930258 (patch)
treeec52a94390dcfa9895330055ace9e5614b186065
parent17f4a87ce64e15f0920e7c7db692e51a3ae152a6 (diff)
downloadbundler-731303445364cdfb705908f3b5952c9764930258.tar.gz
and it's not always set, obviously
-rw-r--r--lib/bundler/source/git/git_proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source/git/git_proxy.rb b/lib/bundler/source/git/git_proxy.rb
index 67e772f349..29100a1e74 100644
--- a/lib/bundler/source/git/git_proxy.rb
+++ b/lib/bundler/source/git/git_proxy.rb
@@ -138,7 +138,7 @@ module Bundler
end
def allow?
- @git.allow_git_ops?
+ @git ? @git.allow_git_ops? : true
end
def in_path(&blk)