You've already forked goreleaser
							
							
				mirror of
				https://github.com/goreleaser/goreleaser.git
				synced 2025-10-30 23:58:09 +02:00 
			
		
		
		
	fix: fd leak on gomod pipe (#2188)
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							48e8d83dad
						
					
				
				
					commit
					f72e6399da
				
			| @@ -183,6 +183,7 @@ func copyGoSum(src, dst string) error { | ||||
| 		} | ||||
| 		return err | ||||
| 	} | ||||
| 	defer r.Close() | ||||
|  | ||||
| 	w, err := os.Create(dst) | ||||
| 	if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user