diff options
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/pkg.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/pkg.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/pkg.rb b/Library/Homebrew/cask/lib/hbc/pkg.rb index 7d4a9251a..eacd5157e 100644 --- a/Library/Homebrew/cask/lib/hbc/pkg.rb +++ b/Library/Homebrew/cask/lib/hbc/pkg.rb @@ -1,9 +1,9 @@  module Hbc    class Pkg      def self.all_matching(regexp, command) -      command.run("/usr/sbin/pkgutil", args: ["--pkgs=#{regexp}"]).stdout.split("\n").map { |package_id| +      command.run("/usr/sbin/pkgutil", args: ["--pkgs=#{regexp}"]).stdout.split("\n").map do |package_id|          new(package_id.chomp, command) -      } +      end      end      attr_reader :package_id  | 
