-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add --force
to brew tap homebrew/core
#16542
Conversation
if `--force` is omitted, the following error is seen: ``` $ brew tap homebrew/core Error: Tapping homebrew/core is no longer typically necessary. Add --force if you are sure you need it done. ```
Did you follow the previous step?
The conditional for this message should check that first making Lines 321 to 323 in 2cb8efc
|
Maybe I should have been clearer in my original comment: I followed the guide properly and properly set |
I tried to reproduce locally but was unable to. Only can see warning when Can't see any warning when $ brew tap homebrew/core
Error: Tapping homebrew/core is no longer typically necessary.
Add --force if you are sure you need it done.
$ export HOMEBREW_NO_INSTALL_FROM_API=1; brew tap homebrew/core
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 1844121, done.
remote: Counting objects: 100% (540/540), done.
remote: Compressing objects: 100% (226/226), done.
^C
$ unset HOMEBREW_NO_INSTALL_FROM_API
$ brew tap homebrew/core
Error: Tapping homebrew/core is no longer typically necessary.
Add --force if you are sure you need it done.
$ HOMEBREW_NO_INSTALL_FROM_API=1 brew tap homebrew/core
==> Tapping homebrew/core
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
... |
Something is different on my machine it seems:
Is there a debug mode I can turn on? |
It looks like you are setting a local variable. A semi-colon ( As docs mention, you need to modify your shell environment instead, which means you should be using an environment variable. |
sorry, my mistake indeed. I misunderstood what "shell environment" meant here. |
if
--force
is omitted, the following error is seen:brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?