This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'sawyer'
|
||||
|
||||
patch = Module.new do
|
||||
def href(options = nil)
|
||||
# Temporary workaround for: https://github.com/octokit/octokit.rb/issues/727
|
||||
name.to_s == 'ssh' ? @href : super
|
||||
end
|
||||
end
|
||||
|
||||
Sawyer::Relation.send(:prepend, patch)
|
||||
Reference in New Issue
Block a user