diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-17 11:50:50 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-17 11:50:50 -0700 |
commit | 3887de2a8684077f63422896b4731a04f60bc99e (patch) | |
tree | 3b236fc19ed7b5a37b19ff2006365707108c0304 /lib/chef/provider/package/homebrew.rb | |
parent | 38aa51ed6d067a4be2b4abf7995f4345c43fb634 (diff) | |
download | chef-3887de2a8684077f63422896b4731a04f60bc99e.tar.gz |
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider/package/homebrew.rb')
-rw-r--r-- | lib/chef/provider/package/homebrew.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/homebrew.rb b/lib/chef/provider/package/homebrew.rb index 4e4e9bbee3..a650c1202d 100644 --- a/lib/chef/provider/package/homebrew.rb +++ b/lib/chef/provider/package/homebrew.rb @@ -164,7 +164,7 @@ class Chef logger.trace "Executing 'brew #{command.join(" ")}' as user '#{homebrew_user.name}'" # FIXME: this 1800 second default timeout should be deprecated - output = shell_out!('brew', *command, timeout: 1800, user: homebrew_uid, environment: { "HOME" => homebrew_user.dir, "RUBYOPT" => nil, "TMPDIR" => nil }) + output = shell_out!("brew", *command, timeout: 1800, user: homebrew_uid, environment: { "HOME" => homebrew_user.dir, "RUBYOPT" => nil, "TMPDIR" => nil }) output.stdout.chomp end |