lib/github-status/support/git.rb in concourse-github-status-0.3.0 vs lib/github-status/support/git.rb in concourse-github-status-0.3.1
- old
+ new
@@ -7,10 +7,10 @@
include ::Contracts::Core
include ::Contracts::Builtin
Contract None => ::Git::Base
def git
- @git ||= Git.open "#{workdir}/#{path}"
+ @git ||= ::Git.open "#{workdir}/#{path}"
rescue ArgumentError
STDERR.puts "#{path} is not a git repository"
abort
end