We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa6dc5f commit 4aaafa4Copy full SHA for 4aaafa4
1 file changed
hooks/pre_install.lua
@@ -20,7 +20,7 @@ function PLUGIN:PreInstall(ctx)
20
end
21
22
if (version == nil) then
23
- error("version not found for provided version " .. version)
+ error("version not found for provided version " .. (ctx.version or "null"))
24
25
26
local arch_type = RUNTIME.archType
@@ -56,4 +56,4 @@ function PLUGIN:PreInstall(ctx)
56
url = baseUrl .. filename,
57
sha256 = checksum,
58
}
59
-end
+end
0 commit comments