diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-07-23 14:16:43 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-07-23 14:16:43 +0200 |
commit | 6ab3e8a73920e3d2e02e57f7dd3a1f3d8e54ee63 (patch) | |
tree | 31d69d1a4e3618ff969d21ff9076f81923e92fb6 /lua/lvim/utils | |
parent | 48320e5f882a911707c56baf3865f663acb39f08 (diff) |
chore: bump plugins version (#2723)
Diffstat (limited to 'lua/lvim/utils')
-rw-r--r-- | lua/lvim/utils/git.lua | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/lua/lvim/utils/git.lua b/lua/lvim/utils/git.lua index 62915458..99c178f3 100644 --- a/lua/lvim/utils/git.lua +++ b/lua/lvim/utils/git.lua @@ -13,16 +13,14 @@ local function git_cmd(opts) opts.cwd = opts.cwd or get_lvim_base_dir() local stderr = {} - local stdout, ret = Job - :new({ - command = "git", - args = opts.args, - cwd = opts.cwd, - on_stderr = function(_, data) - table.insert(stderr, data) - end, - }) - :sync() + local stdout, ret = Job:new({ + command = "git", + args = opts.args, + cwd = opts.cwd, + on_stderr = function(_, data) + table.insert(stderr, data) + end, + }):sync() if not vim.tbl_isempty(stderr) then Log:debug(stderr) |