From c8b723b4aeb8e71ef335e13278c11bfacd3a696e Mon Sep 17 00:00:00 2001 From: Drew Short Date: Thu, 18 Jan 2018 15:26:32 -0600 Subject: [PATCH] Assigning values to variables so they're recognized --- src/spm/spm.moon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spm/spm.moon b/src/spm/spm.moon index 89fd505..7c497dc 100644 --- a/src/spm/spm.moon +++ b/src/spm/spm.moon @@ -344,7 +344,7 @@ installPackage = (requestedPackage, installPath, doUpdate) -> locallyInstalledPackages[requestedPackage] = {} term.write("Installing Files...") for filePath, requestedInstallPath in pairs(packageInfo.files) - installedPath + installedPath = nil if string.find(requestedInstallPath, "^//") localInstalledPath = string.sub(requestedInstallPath, 2) @@ -360,7 +360,7 @@ installPackage = (requestedPackage, installPath, doUpdate) -> installedPath = fs.concat(installPath, requestedInstallPath, string.gsub(filePath, ".+(/.-)$", "%1"), nil) - downloadPath + downloadPath = nil if (packageInfo.minified or options.m) and not options.nm downloadPath = repositoryPath .. "/" .. string.gsub(filePath, "(.+)%.lua$", "%1") .. ".min.lua" else