Installing casks is supported only on macOS

This commit is contained in:
Shaun Jackman 2017-11-22 10:38:06 -08:00
parent a869ce0143
commit 0a2bfa66fd

View File

@ -10,6 +10,7 @@ module Hbc
end end
def run def run
odie "Installing casks is supported only on macOS" unless OS.mac?
casks.each do |cask| casks.each do |cask|
begin begin
Installer.new(cask, binaries: binaries?, Installer.new(cask, binaries: binaries?,