Merge pull request #6127 from issyl0/brew_cask_info_space_between_multiple_casks

Add a blank line between `brew cask info` output for multiple casks
This commit is contained in:
Mike McQuaid 2019-05-14 08:21:41 +01:00 committed by GitHub
commit 191898ced5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,8 @@ module Cask
if json == "v1"
puts JSON.generate(casks.map(&:to_h))
else
casks.each do |cask|
casks.each_with_index do |cask, i|
puts unless i.zero?
odebug "Getting info for Cask #{cask}"
self.class.info(cask)
end

View File

@ -48,6 +48,7 @@ describe Cask::Cmd::Info, :cask do
None
==> Artifacts
Caffeine.app (App)
local-transmission: 2.61
https://brew.sh
Not installed