fix undefined error in server
This commit is contained in:
		
							parent
							
								
									0729cd9ee5
								
							
						
					
					
						commit
						7346a2d379
					
				
					 3 changed files with 4 additions and 1 deletions
				
			
		|  | @ -60,6 +60,7 @@ local function getAllFiles() | |||
|     local result = http.get(indexesUrl) | ||||
|     if result == nil then | ||||
|       print("error! getting indexes for " .. programToInstall) | ||||
|       error() | ||||
|     end | ||||
|     local resultText = result.readAll() | ||||
|     local resultTable = split(resultText, "\n") | ||||
|  |  | |||
|  | @ -64,6 +64,7 @@ local function getAllFiles() | |||
|     local result = http.post(updateUrl, currentFiles) | ||||
|     if result == nil then | ||||
|       print("error! getting updates for " .. programToInstall) | ||||
|       error() | ||||
|     end | ||||
|     local resultText = result.readAll() | ||||
|     local resultTable = split(resultText, "\n") | ||||
|  | @ -71,6 +72,7 @@ local function getAllFiles() | |||
|     local result2 = http.get(indexesUrl) | ||||
|     if result2 == nil then | ||||
|       print("error! getting indexes for " .. programToInstall) | ||||
|       error() | ||||
|     end | ||||
|     local resultText2 = result2.readAll() | ||||
|     local resultTable2 = split(resultText2, "\n") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue