From f838695459d75a889ae8d96e370957f0f675902a Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Thu, 7 Jul 2022 08:27:46 +0200 Subject: chore: reformat with stylua 0.14.0 --- lua/telescope/utils.lua | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'lua/telescope/utils.lua') diff --git a/lua/telescope/utils.lua b/lua/telescope/utils.lua index 4db75a8..70ded91 100644 --- a/lua/telescope/utils.lua +++ b/lua/telescope/utils.lua @@ -417,16 +417,14 @@ function utils.get_os_command_output(cmd, cwd) end local command = table.remove(cmd, 1) local stderr = {} - local stdout, ret = Job - :new({ - command = command, - args = cmd, - cwd = cwd, - on_stderr = function(_, data) - table.insert(stderr, data) - end, - }) - :sync() + local stdout, ret = Job:new({ + command = command, + args = cmd, + cwd = cwd, + on_stderr = function(_, data) + table.insert(stderr, data) + end, + }):sync() return stdout, ret, stderr end -- cgit v1.2.3