From 5407b736d1214a09d99f9cbc0c71fbab14fd3a22 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Thu, 29 Feb 2024 17:59:39 +0100 Subject: [PATCH] fix: ignore malformed rocks --- lua/rocks/operations.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/rocks/operations.lua b/lua/rocks/operations.lua index 92b216ac..a04816ce 100644 --- a/lua/rocks/operations.lua +++ b/lua/rocks/operations.lua @@ -351,9 +351,7 @@ operations.sync = function(user_rocks) for _, key in ipairs(to_install) do nio.scheduler() if not user_rocks[key].version then - local message = ("Could not parse rock: %s"):format(vim.inspect(user_rocks[key])) - log.error(message) - report_error(message) + -- TODO(vhyrro): Maybe add a rocks option that warns on malformed rocks? goto skip_install end progress_handle:report({