Revert "fix: ignore quarantine for linux cask download"
This reverts commit d2c15d04a1603c0a20fcedd0070d7c144cba28d8.
This commit is contained in:
		
							parent
							
								
									d2c15d04a1
								
							
						
					
					
						commit
						25ab4a2733
					
				@ -114,5 +114,3 @@ module Cask
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
require "extend/os/cask/download"
 | 
			
		||||
 | 
			
		||||
@ -1,4 +0,0 @@
 | 
			
		||||
# typed: true
 | 
			
		||||
# frozen_string_literal: true
 | 
			
		||||
 | 
			
		||||
require "extend/os/linux/cask/download" if OS.linux?
 | 
			
		||||
@ -1,13 +0,0 @@
 | 
			
		||||
# typed: true
 | 
			
		||||
# frozen_string_literal: true
 | 
			
		||||
 | 
			
		||||
module Cask
 | 
			
		||||
  class Download
 | 
			
		||||
    undef quarantine
 | 
			
		||||
 | 
			
		||||
    def quarantine(_path)
 | 
			
		||||
      opoo "Cannot quarantine download: No xattr available on linux." if @quarantine
 | 
			
		||||
      nil
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user