Merge pull request #7511 from rwhogg/tap-pin-command-explanation
docs: Update tap-pin and tap-unpin disable explanations
This commit is contained in:
		
						commit
						61b98a5e2e
					
				@ -12,7 +12,7 @@ module Homebrew
 | 
				
			|||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def tap_pin
 | 
					  def tap_pin
 | 
				
			||||||
    odisabled "brew tap-pin user/tap",
 | 
					    odisabled "the brew tap-pin command",
 | 
				
			||||||
              "fully-scoped user/tap/formula naming"
 | 
					              "fully-scoped user/tap/formula naming when installing and in dependency references"
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
@ -12,7 +12,7 @@ module Homebrew
 | 
				
			|||||||
  end
 | 
					  end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def tap_unpin
 | 
					  def tap_unpin
 | 
				
			||||||
    odisabled "brew tap-pin user/tap",
 | 
					    odisabled "the brew tap-unpin command",
 | 
				
			||||||
              "fully-scoped user/tap/formula naming"
 | 
					              "fully-scoped user/tap/formula naming when installing and in dependency references"
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
				
			|||||||
@ -491,8 +491,8 @@ module Formulary
 | 
				
			|||||||
    if possible_pinned_tap_formulae.size == 1
 | 
					    if possible_pinned_tap_formulae.size == 1
 | 
				
			||||||
      selected_formula = factory(possible_pinned_tap_formulae.first, spec)
 | 
					      selected_formula = factory(possible_pinned_tap_formulae.first, spec)
 | 
				
			||||||
      if core_path(ref).file?
 | 
					      if core_path(ref).file?
 | 
				
			||||||
        odisabled "brew tap-pin user/tap",
 | 
					        odisabled "the brew tap-pin command",
 | 
				
			||||||
                  "fully-scoped user/tap/formula naming"
 | 
					                  "fully-scoped user/tap/formula naming when installing and in dependency references"
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
      selected_formula
 | 
					      selected_formula
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user