exec_editor with no arguments should not silently succeed

This commit is contained in:
Jack Nagel 2014-07-18 12:36:05 -05:00
parent a5895ad1fe
commit 7d28a6c54b

View File

@ -206,7 +206,6 @@ def which_editor
end
def exec_editor *args
return if args.to_s.empty?
safe_exec(which_editor, *args)
end