Remove redundant extract_to_dir.
				
					
				
			This commit is contained in:
		
							parent
							
								
									a6aefb43c5
								
							
						
					
					
						commit
						95b0b198a5
					
				@ -295,12 +295,6 @@ class GitUnpackStrategy < DirectoryUnpackStrategy
 | 
			
		||||
  def self.can_extract?(path:, magic_number:)
 | 
			
		||||
    super && (path/".git").directory?
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  private
 | 
			
		||||
 | 
			
		||||
  def extract_to_dir(unpack_dir, basename:)
 | 
			
		||||
    FileUtils.cp_r path.children, unpack_dir, preserve: true
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
class SubversionUnpackStrategy < DirectoryUnpackStrategy
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user