diff options
| author | Markus Reiter | 2017-05-29 02:40:49 +0200 |
|---|---|---|
| committer | GitHub | 2017-05-29 02:40:49 +0200 |
| commit | 52b54aaeb9513500331228b9b1efee34f0174880 (patch) | |
| tree | 3b769bdc5a6cfdecbfffa765e42c91efeb6afac8 /Library/Homebrew/cask | |
| parent | 803f9cbf7ba27ec700ffdfffb976d9b60a5f9deb (diff) | |
| parent | dc4f30393741ab7bc8115fa68d8bbbee404f22d9 (diff) | |
| download | brew-52b54aaeb9513500331228b9b1efee34f0174880.tar.bz2 | |
Merge pull request #2690 from reitermarkus/rubocop-cache
Use `XDG_CACHE_HOME` for RuboCop.
Diffstat (limited to 'Library/Homebrew/cask')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/style.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/style.rb b/Library/Homebrew/cask/lib/hbc/cli/style.rb index 078796e7e..03159a0cf 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/style.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/style.rb @@ -11,7 +11,7 @@ module Hbc def run install_rubocop - system "rubocop", *rubocop_args, "--", *cask_paths + system({ "XDG_CACHE_HOME" => HOMEBREW_CACHE }, "rubocop", *rubocop_args, "--", *cask_paths) raise CaskError, "style check failed" unless $CHILD_STATUS.success? true end |
