apainintheneck 8de625e0e2 extend/os: clean up requires
These need to be after the original module/class definitions
for the monkey-patching to work correctly.
2023-02-22 21:21:24 -08:00

19 lines
291 B
Ruby

# typed: false
# frozen_string_literal: true
module Homebrew
extend T::Sig
module_function
class << self
alias generic_git_tags git_tags
end
def git_tags
tags = generic_git_tags
tags = Utils.popen_read("git tag --list | sort -rV") if tags.blank?
tags
end
end