Refactor
This commit is contained in:
		
							parent
							
								
									ad18136b04
								
							
						
					
					
						commit
						66a9094665
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -33,7 +33,7 @@ export default async (url, user, folderId = null, uri = null): Promise<IDriveFil
 | 
			
		|||
			.on('error', rej)
 | 
			
		||||
			.on('end', () => {
 | 
			
		||||
				writable.close();
 | 
			
		||||
				res(path);
 | 
			
		||||
				res();
 | 
			
		||||
			})
 | 
			
		||||
			.pipe(writable)
 | 
			
		||||
			.on('error', rej);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue