aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/installer/registry/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/installer/registry/util.lua')
-rw-r--r--lua/mason-core/installer/registry/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/mason-core/installer/registry/util.lua b/lua/mason-core/installer/registry/util.lua
index d0045a3e..b3735c9c 100644
--- a/lua/mason-core/installer/registry/util.lua
+++ b/lua/mason-core/installer/registry/util.lua
@@ -12,7 +12,7 @@ local M = {}
---@param opts PackageInstallOpts
---@return Result # Result<T>
function M.coalesce_by_target(candidates, opts)
- if not vim.tbl_islist(candidates) then
+ if not _.is_list(candidates) then
return Result.success(candidates)
end
return Optional.of_nilable(_.find_first(function(asset)