We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e7fc67 commit c4ef505Copy full SHA for c4ef505
lua/gitlab/git.lua
@@ -6,11 +6,9 @@ local M = {}
6
---@param command table
7
---@return string|nil, string|nil
8
local run_system = function(command)
9
- -- Load here to prevent loop
10
- local u = require("gitlab.utils")
11
local result = vim.fn.trim(vim.fn.system(command))
12
if vim.v.shell_error ~= 0 then
13
- u.notify(result, vim.log.levels.ERROR)
+ require("gitlab.utils").notify(result, vim.log.levels.ERROR)
14
return nil, result
15
end
16
return result, nil
0 commit comments