Skip to content

Commit e96e7db

Browse files
committed
fix(nuget): unit tests
1 parent 1251264 commit e96e7db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/mason-core/installer/managers/nuget.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
local Result = require "mason-core.result"
22
local installer = require "mason-core.installer"
3+
local log = require "mason-core.log"
34
local platform = require "mason-core.platform"
45
local fetch = require "mason-core.fetch"
56

@@ -11,8 +12,9 @@ local M = {}
1112
---@param repository_url string
1213
---@nodiscard
1314
function M.install(package, version, repository_url)
15+
log.fmt_debug("nuget: install %s %s", package, version)
1416
local ctx = installer.context()
15-
17+
ctx.stdio_sink.stdout(("Installing nuget package %s@%s…\n"):format(package, version))
1618
local args = {
1719
"tool",
1820
"update",

0 commit comments

Comments
 (0)