-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Require SystemCommand only where needed #16540
Conversation
Homebrew/homebrew-test-bot#1004 is an attempt to fix the failing check |
It looks like this is also used in Casks which seems to be covered here and in two cask repo commands as well.
@bevanjkay @reitermarkus How hard would it be to replace these uses of |
It looks like we can require If so, we should be able to |
They should probably be replaced with public API like |
a12dfbc
to
f32efa4
Compare
8e4f50f
to
eb7c3e5
Compare
I went ahead and opened a PR to do just this: Homebrew/homebrew-cask#165732 |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?Continuation of #16538
This removes
SystemCommand::Mixin
from the top-level namespace, and instead includes it only in the needed namespaces.