diff options
Diffstat (limited to 'lua/mason-core/installer/managers/std.lua')
| -rw-r--r-- | lua/mason-core/installer/managers/std.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua/mason-core/installer/managers/std.lua b/lua/mason-core/installer/managers/std.lua index 6112b317..d08de888 100644 --- a/lua/mason-core/installer/managers/std.lua +++ b/lua/mason-core/installer/managers/std.lua @@ -94,7 +94,7 @@ end function M.download_file(url, out_file) log.fmt_debug("std: downloading file %s", url, out_file) local ctx = installer.context() - ctx.stdio_sink.stdout(("Downloading file %q...\n"):format(url)) + ctx.stdio_sink.stdout(("Downloading file %q…\n"):format(url)) return fetch(url, { out_file = path.concat { ctx.cwd:get(), out_file }, }):map_err(function(err) @@ -230,6 +230,8 @@ local unpack_by_filename = _.cond { ---@nodiscard function M.unpack(rel_path) log.fmt_debug("std: unpack %s", rel_path) + local ctx = installer.context() + ctx.stdio_sink.stdout((("Unpacking %q…\n"):format(rel_path))) return unpack_by_filename(rel_path) end @@ -241,6 +243,7 @@ function M.clone(git_url, opts) opts = opts or {} log.fmt_debug("std: clone %s %s", git_url, opts) local ctx = installer.context() + ctx.stdio_sink.stdout((("Cloning git repository %q…\n"):format(git_url))) return Result.try(function(try) try(ctx.spawn.git { "clone", |
