exec_editor with no arguments should not silently succeed
This commit is contained in:
parent
a5895ad1fe
commit
7d28a6c54b
@ -206,7 +206,6 @@ def which_editor
|
||||
end
|
||||
|
||||
def exec_editor *args
|
||||
return if args.to_s.empty?
|
||||
safe_exec(which_editor, *args)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user