apainintheneck 0048b394d4 readall: fix no simulate
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.
2023-03-26 10:37:20 -07:00

5 lines
90 B
Ruby

# typed: strict
# frozen_string_literal: true
require "extend/os/mac/readall" if OS.mac?