aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-07-18 12:36:05 -0500
committerJack Nagel2014-07-18 12:36:26 -0500
commit8eac19abd1165d677b45e7110335204d4abda6ef (patch)
treedf6ddb0cc6236f7f795c3626db56286482106578
parentc0219118d743172e1071c970f6997121cce9470c (diff)
downloadhomebrew-8eac19abd1165d677b45e7110335204d4abda6ef.tar.bz2
exec_editor with no arguments should not silently succeed
-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