Browse Source

Fixing a method reference

environments/development/deployments/33
Drew Short 7 years ago
parent
commit
62b91ac92c
  1. 3
      src/spm/spm.moon

3
src/spm/spm.moon

@ -37,7 +37,6 @@ printUsage = ->
print("'spm copy <package>' to copy package files to another location") print("'spm copy <package>' to copy package files to another location")
print(" -f: Force creation of directories and overwriting of existing files.") print(" -f: Force creation of directories and overwriting of existing files.")
-- Make an internet http/s request for data -- Make an internet http/s request for data
getContent = (url) -> getContent = (url) ->
sContent = "" sContent = ""
@ -52,7 +51,7 @@ getContent = (url) ->
return sContent return sContent
-- Request repository information -- Request repository information
getRepos ->
getRepos = ->
success, sRepos = pcall(getContent, repoLocationConfig) success, sRepos = pcall(getContent, repoLocationConfig)
if not success if not success

Loading…
Cancel
Save