We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01c9e02 + 85c6ca3 commit fd09479Copy full SHA for fd09479
install.lua
@@ -45,12 +45,10 @@ local function checkfilesexists(listfile)
45
return false
46
end
47
function main()
48
-local homepath=os.getenv('HOME')
49
-if not homepath then
50
-homepath=os.getenv('USERPROFILE')
51
- end
52
-
53
- local downloadpath=path.join(homepath,"cache",'downloads')
+ local homepath = os.getenv('HOME')
+ if not homepath then homepath = os.getenv('USERPROFILE') end
+
+ local downloadpath = path.join(homepath, "cache", 'downloads')
54
local name = "leetcode-treenode-cpp"
55
local version = "1.1.9"
56
local folder = name .. "-" .. version
0 commit comments