Files
news.gitea.happylizard.me/bin/gems/octokit-6.1.1/lib/ext/sawyer/relation.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

13 lines
267 B
Ruby

# 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)