From 51c2f914bb02be5af13eb96c4ef44cb1d4001d74 Mon Sep 17 00:00:00 2001 From: Dung Huynh Duc Date: Thu, 31 Oct 2024 22:33:13 +0800 Subject: [PATCH] fix(utils): remove duplicate error notification --- lua/hurl/utils.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/hurl/utils.lua b/lua/hurl/utils.lua index bc65ab2..4329497 100644 --- a/lua/hurl/utils.lua +++ b/lua/hurl/utils.lua @@ -120,7 +120,6 @@ M.format = function(body, type) local stdout = vim.fn.systemlist(formatters[type], body) if vim.v.shell_error ~= 0 then M.log_error('formatter failed' .. vim.v.shell_error) - M.notify('formatter failed' .. vim.v.shell_error, vim.log.levels.ERROR) return vim.split(body, '\n') end