diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/global.rb | 3 | ||||
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 06cca3859..92689d0ff 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -44,7 +44,8 @@ RECOMMENDED_GCC_42 = (MACOS_VERSION >= 10.6) ? 5646 : 5577 class ExecutionError <RuntimeError - attr :exit_status, :command + attr :exit_status + attr :command def initialize cmd, args = [], es = nil @command = cmd diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index dbe3d1687..a12cc1f71 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -29,7 +29,8 @@ TEST_FOLDER = Pathname.new(ABS__FILE__).parent.realpath # Note: These exceptions duplicate those defined in globals. # Perhaps the same definitions should be used in both places. class ExecutionError <RuntimeError - attr :exit_status, :command + attr :exit_status + attr :command def initialize cmd, args = [], es = nil @command = cmd |
