Skip to content

Commit 999aa98

Browse files
author
Robert Masen
committed
undefined variable luaVersion updated to version
1 parent 68a8fe5 commit 999aa98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ async function download(url, hash) {
130130
function tarballContentDirectory(version) {
131131
debug("tarballContentDirectory %s", version)
132132
if (version.startsWith("luajit")) {
133+
const luajitVersion = version.substr("luajit-".length)
133134
debug("LuaJIT version: %s", luajitVersion)
134135
return `LuaJIT-${luajitVersion}`
135136
}

0 commit comments

Comments
 (0)