Remove unused variable
This commit is contained in:
		
							parent
							
								
									ec3372ecd3
								
							
						
					
					
						commit
						541f8079da
					
				|  | @ -168,7 +168,7 @@ utils.convertToXMLTV = function ({ channels, programs }) { | ||||||
| 
 | 
 | ||||||
|   for (let program of programs) { |   for (let program of programs) { | ||||||
|     if (!program) continue |     if (!program) continue | ||||||
|      | 
 | ||||||
|     const channel = utils.escapeString(program.channel) |     const channel = utils.escapeString(program.channel) | ||||||
|     const title = utils.escapeString(program.title) |     const title = utils.escapeString(program.title) | ||||||
|     const description = utils.escapeString(program.description) |     const description = utils.escapeString(program.description) | ||||||
|  | @ -316,7 +316,7 @@ utils.convertToXMLTV = function ({ channels, programs }) { | ||||||
| 
 | 
 | ||||||
|   function createCredits(obj) { |   function createCredits(obj) { | ||||||
|   let cast = Object.entries(obj) |   let cast = Object.entries(obj) | ||||||
|                 .filter(([name, value]) => value) |                 .filter((x) => x[1]) | ||||||
|                 .map(([name, value]) => ({name, value})) |                 .map(([name, value]) => ({name, value})) | ||||||
| 
 | 
 | ||||||
|   let output = '' |   let output = '' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue