aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/pkg.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-23 14:44:14 +0200
committerMarkus Reiter2016-10-23 14:44:14 +0200
commit8d15bddedb2f5796193f79a9a97cd6271367e251 (patch)
tree4a32d9a51582ab6e9f9d3c02439de2e1373231bd /Library/Homebrew/cask/lib/hbc/pkg.rb
parent827b48912ab0a2d36ca7b29d8bd5849b360c9c6c (diff)
downloadbrew-8d15bddedb2f5796193f79a9a97cd6271367e251.tar.bz2
Auto-correct block delimiters.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/pkg.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/pkg.rb4
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