aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/managers/github
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/managers/github')
-rw-r--r--lua/mason-core/managers/github/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/mason-core/managers/github/init.lua b/lua/mason-core/managers/github/init.lua
index a3cbd103..ebf98164 100644
--- a/lua/mason-core/managers/github/init.lua
+++ b/lua/mason-core/managers/github/init.lua
@@ -86,10 +86,10 @@ function M.release_file(opts)
end
if not asset_file then
error(
- ("Could not find which release file to download.\nMost likely the current operating system, architecture (%s), or libc (%s) is not supported."):format(
- platform.arch,
- platform.get_libc()
- ),
+ (
+ "Could not find which release file to download.\n"
+ .. "Most likely the current operating system or architecture is not supported (%s_%s)."
+ ):format(platform.sysname, platform.arch),
0
)
end