Browse Source

Fixing SPM errors introduced during refactor

environments/production/deployments/21
Drew Short 6 years ago
parent
commit
780f872677
  1. 4
      src/spm/spm.lua

4
src/spm/spm.lua

@ -126,7 +126,7 @@ local function readFromFile(path)
end
local function readFromLocalInstallFile()
readFromFile(localInstalledPackagesFile)
return readFromFile(localInstalledPackagesFile)
end
local function readLocalConfigFile()
@ -431,7 +431,7 @@ local function installPackage(requestedPackage, installPath, doUpdate)
end
if packageInfo.minified or options.m then
filePath = string.gsub(filePath, "(.+)\.(.+)$", "%1\.min\.%2")
filePath = string.gsub(filePath, "(.+)\\.(.+)$", "%1\\.min\\.%2")
end
local success = pcall(downloadFile, repositoryPath .. "/" .. filePath, installedPath)

Loading…
Cancel
Save