Show an error if the gunzip returns an empty buffer
This commit is contained in:
		
							parent
							
								
									249269ad50
								
							
						
					
					
						commit
						7d6b4b621f
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -55,6 +55,11 @@ angular.module('quay').factory('DataFileService', [function() { | |||
|       return; | ||||
|     } | ||||
| 
 | ||||
|     if (plain.byteLength == 0) { | ||||
|       failure(); | ||||
|       return; | ||||
|     } | ||||
| 
 | ||||
|     dataFileService.tryAsTar_(plain, success, failure); | ||||
|   }; | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue