mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

This wasn't working with casks because the bottle tag would be nil here. It was refactored to not use the bottle tag because casks don't have bottles. I also moved the valid_casks? method to extend/os/mac because casks only run on macOS and the generic OS tests were failing before.
5 lines
90 B
Ruby
5 lines
90 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
require "extend/os/mac/readall" if OS.mac?
|