refactor(utils): remove unused function
This commit is contained in:
parent
9aa0038125
commit
1b2d4f7f93
2 changed files with 7 additions and 14 deletions
|
|
@ -15,12 +15,17 @@ local urls = {
|
|||
---@param url string
|
||||
local function handle_intall_exit(opt, url)
|
||||
if opt.code ~= 0 then
|
||||
u.deferred_notify("go install failed: " .. url)
|
||||
vim.schedule(function()
|
||||
u.notify("go install failed: " .. url)
|
||||
end)
|
||||
|
||||
log.error("go install failed:", "url", url, "opt", vim.inspect(opt))
|
||||
return
|
||||
end
|
||||
|
||||
u.deferred_notify("go install-ed: " .. url)
|
||||
vim.schedule(function()
|
||||
u.notify("go install-ed: " .. url)
|
||||
end)
|
||||
end
|
||||
|
||||
---@param url string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue