Merge pull request #17266 from Homebrew/fix-no-autoremove-suggestion
fix no autoremove suggestion typo
This commit is contained in:
commit
1c281368d4
@ -290,7 +290,7 @@ module Homebrew
|
|||||||
|
|
||||||
if ENV["HOMEBREW_AUTOREMOVE"].present?
|
if ENV["HOMEBREW_AUTOREMOVE"].present?
|
||||||
opoo "HOMEBREW_AUTOREMOVE is now a no-op as it is the default behaviour. " \
|
opoo "HOMEBREW_AUTOREMOVE is now a no-op as it is the default behaviour. " \
|
||||||
"Set HOMEBREW_NO_AUTO_REMOVE=1 to disable it."
|
"Set HOMEBREW_NO_AUTOREMOVE=1 to disable it."
|
||||||
end
|
end
|
||||||
Cleanup.autoremove(dry_run: dry_run?) unless Homebrew::EnvConfig.no_autoremove?
|
Cleanup.autoremove(dry_run: dry_run?) unless Homebrew::EnvConfig.no_autoremove?
|
||||||
|
|
||||||
|
|||||||
@ -79,7 +79,7 @@ module Homebrew
|
|||||||
|
|
||||||
if ENV["HOMEBREW_AUTOREMOVE"].present?
|
if ENV["HOMEBREW_AUTOREMOVE"].present?
|
||||||
opoo "HOMEBREW_AUTOREMOVE is now a no-op as it is the default behaviour. " \
|
opoo "HOMEBREW_AUTOREMOVE is now a no-op as it is the default behaviour. " \
|
||||||
"Set HOMEBREW_NO_AUTO_REMOVE=1 to disable it."
|
"Set HOMEBREW_NO_AUTOREMOVE=1 to disable it."
|
||||||
end
|
end
|
||||||
Cleanup.autoremove unless Homebrew::EnvConfig.no_autoremove?
|
Cleanup.autoremove unless Homebrew::EnvConfig.no_autoremove?
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user