Merge pull request #3468 from sjackman/cask-install

Installing casks is supported only on macOS
This commit is contained in:
Mike McQuaid 2017-11-22 21:11:39 +00:00 committed by GitHub
commit 9096c41651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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?,