Fix issue with tabnew forwarding args to tabedit

This commit is contained in:
Brendon Roberto 2016-06-16 15:05:58 -04:00 committed by Brendon Roberto
parent cd4fb6f359
commit 4424eec4cc

View file

@ -127,11 +127,11 @@ class Ex
tabe: (args) => @tabedit(args)
tabnew: ({ range, args }) =>
if args.trim() is ''
tabnew: (args) =>
if args.args.trim() is ''
atom.workspace.open()
else
@tabedit(range, args)
@tabedit(args)
tabclose: (args) => @quit(args)