From 864e3d1a1f506381ab952e06d5737182b548a4eb Mon Sep 17 00:00:00 2001 From: Niklas Johansson Date: Wed, 2 Oct 2024 08:20:27 +0200 Subject: [PATCH] chore: print elixirls repo if it fails to clone --- lua/elixir/elixirls/download.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/elixir/elixirls/download.lua b/lua/elixir/elixirls/download.lua index 71a9e7d9..40e83e4a 100644 --- a/lua/elixir/elixirls/download.lua +++ b/lua/elixir/elixirls/download.lua @@ -24,7 +24,7 @@ function M.clone(dir, opts) clone:sync(60000) - assert(clone.code == 0, "Failed to clone") + assert(clone.code == 0, string.format("Failed to clone %s", opts.repo)) if opts.ref ~= "HEAD" then local checkout = Job:new {