From 7d28a6c54bc361154a0d4b7be8e88baef5301c14 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 18 Jul 2014 12:36:05 -0500 Subject: exec_editor with no arguments should not silently succeed --- Library/Homebrew/utils.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3