aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-07-18 12:36:05 -0500
committerJack Nagel2014-07-18 12:36:26 -0500
commit7d28a6c54bc361154a0d4b7be8e88baef5301c14 (patch)
treeb91b7d976d6e0ddea5ff877ad78b290d2201dc4b /Library
parenta5895ad1fe1ae4ae296c71483e7a77d87606cdd8 (diff)
downloadbrew-7d28a6c54bc361154a0d4b7be8e88baef5301c14.tar.bz2
exec_editor with no arguments should not silently succeed
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/utils.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 384313ed1..b877be1ba 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -206,7 +206,6 @@ def which_editor
end
def exec_editor *args
- return if args.to_s.empty?
safe_exec(which_editor, *args)
end