aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/fetch.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/fetch.lua')
-rw-r--r--lua/mason-core/fetch.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/mason-core/fetch.lua b/lua/mason-core/fetch.lua
index f6b28ebd..8aca8b89 100644
--- a/lua/mason-core/fetch.lua
+++ b/lua/mason-core/fetch.lua
@@ -19,6 +19,7 @@ local USER_AGENT = "mason.nvim (+https://github.com/williamboman/mason.nvim)"
---@async
---@param url string: The url to fetch.
---@param opts FetchOpts | nil
+---@return Result: Result<string>
local function fetch(url, opts)
opts = opts or {}
if not opts.headers then