From 65bce0ed3cf71161afb348e2a7a7bc89813d0385 Mon Sep 17 00:00:00 2001 From: apainintheneck Date: Sun, 20 Nov 2022 13:00:53 -0800 Subject: [PATCH] Move unpack_strategy/zip check to extend/os --- Library/Homebrew/extend/os/unpack_strategy/zip.rb | 4 ++++ Library/Homebrew/unpack_strategy/zip.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Library/Homebrew/extend/os/unpack_strategy/zip.rb diff --git a/Library/Homebrew/extend/os/unpack_strategy/zip.rb b/Library/Homebrew/extend/os/unpack_strategy/zip.rb new file mode 100644 index 0000000000..007300b114 --- /dev/null +++ b/Library/Homebrew/extend/os/unpack_strategy/zip.rb @@ -0,0 +1,4 @@ +# typed: strict +# frozen_string_literal: true + +require "extend/os/mac/unpack_strategy/zip" if OS.mac? diff --git a/Library/Homebrew/unpack_strategy/zip.rb b/Library/Homebrew/unpack_strategy/zip.rb index 6f8e6f7426..c8925c96c6 100644 --- a/Library/Homebrew/unpack_strategy/zip.rb +++ b/Library/Homebrew/unpack_strategy/zip.rb @@ -49,4 +49,4 @@ module UnpackStrategy end end -require "extend/os/mac/unpack_strategy/zip" if OS.mac? +require "extend/os/unpack_strategy/zip"