mirror of
https://github.com/gosticks/brew.git
synced 2026-08-16 22:50:18 +00:00
use odie when commands encounter errors
This commit is contained in:
@@ -32,7 +32,7 @@ module Homebrew
|
||||
args = edit_args.parse
|
||||
|
||||
unless (HOMEBREW_REPOSITORY/".git").directory?
|
||||
raise <<~EOS
|
||||
odie <<~EOS
|
||||
Changes will be lost!
|
||||
The first time you `brew update`, all local changes will be lost; you should
|
||||
thus `brew update` before you `brew edit`!
|
||||
|
||||
Reference in New Issue
Block a user