Browse Source

Assigning values to local variables

environments/development/deployments/35
Drew Short 7 years ago
parent
commit
9163ecbf44
  1. 8
      src/spm/spm.moon

8
src/spm/spm.moon

@ -143,8 +143,8 @@ listPackages = (filter) ->
return return
for _, repository in pairs(repositories) for _, repository in pairs(repositories)
packages
target
packages = -1
target = -1
if repository.src if repository.src
print("Checking Repository " .. repository.src) print("Checking Repository " .. repository.src)
@ -209,8 +209,8 @@ getInformation = (requestedPackage) ->
return return
for _, repository in pairs(repositories) for _, repository in pairs(repositories)
packages
target
packages = -1
target = -1
if repository.src if repository.src
packages = getPackages(repository.src) packages = getPackages(repository.src)

Loading…
Cancel
Save