Merge pull request #14295 from apainintheneck/comment-out-path-args-deprecation
Comment out path args deprecation
This commit is contained in:
		
						commit
						bbc475f922
					
				@ -140,10 +140,11 @@ module Homebrew
 | 
			
		||||
      no_named_args = true
 | 
			
		||||
      [Formula.all, Cask::Cask.all]
 | 
			
		||||
    else
 | 
			
		||||
      if args.named.any? { |named_arg| named_arg.end_with?(".rb") }
 | 
			
		||||
        odeprecated "brew audit [path ...]",
 | 
			
		||||
                    "brew audit [name ...]"
 | 
			
		||||
      end
 | 
			
		||||
      # TODO: Add deprecation
 | 
			
		||||
      # if args.named.any? { |named_arg| named_arg.end_with?(".rb") }
 | 
			
		||||
      #   odeprecated "brew audit [path ...]",
 | 
			
		||||
      #               "brew audit [name ...]"
 | 
			
		||||
      # end
 | 
			
		||||
 | 
			
		||||
      args.named.to_formulae_and_casks
 | 
			
		||||
          .partition { |formula_or_cask| formula_or_cask.is_a?(Formula) }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user