diff options
| author | William Boman <william@redwill.se> | 2023-06-17 15:40:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-17 15:40:51 +0200 |
| commit | ed989357ec71ed8d91deda7122a93f7570e19041 (patch) | |
| tree | 88216e6504f520d3b32621f1f66bbf03efaf0f77 /lua/mason-core/installer/registry/util.lua | |
| parent | chore(main): release 1.2.1 (#1355) (diff) | |
| download | mason-ed989357ec71ed8d91deda7122a93f7570e19041.tar mason-ed989357ec71ed8d91deda7122a93f7570e19041.tar.gz mason-ed989357ec71ed8d91deda7122a93f7570e19041.tar.bz2 mason-ed989357ec71ed8d91deda7122a93f7570e19041.tar.lz mason-ed989357ec71ed8d91deda7122a93f7570e19041.tar.xz mason-ed989357ec71ed8d91deda7122a93f7570e19041.tar.zst mason-ed989357ec71ed8d91deda7122a93f7570e19041.zip | |
refactor(installer): hoist version validation to the compiled installation entrypoint (#1357)
Diffstat (limited to 'lua/mason-core/installer/registry/util.lua')
| -rw-r--r-- | lua/mason-core/installer/registry/util.lua | 2 |
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 ed98b738..04492bbf 100644 --- a/lua/mason-core/installer/registry/util.lua +++ b/lua/mason-core/installer/registry/util.lua @@ -38,7 +38,7 @@ end ---Checks whether a custom version of a package installation corresponds to a valid version. ---@async ----@param versions_thunk async fun(): Result Result<string> +---@param versions_thunk async fun(): Result Result<string[]> function M.ensure_valid_version(versions_thunk) local ctx = installer.context() local version = ctx.opts.version |
