-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix(install): Make installing more verbose #41214
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent with the other methods but let's add the typing for new methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff 👍
I assume we could simplify the code a bit by using something like
and always passing an IOutput instance, however the current approach works as well. |
Well then we need to also inject it always from the SetupController. Also half of the methods are also called from the update mechanism where it's even harder to pipe in the output at the moment. So let's skip that bit for now, until the updater and repair steps don't use the |
I see. My suggestion was to simplify the code a bit and don't have different paths. Indeed, for the web-based setup there is not much use of it as we don't have a verbose mode. I assume we can use a NullOutput there. Nevertheless, the current approach is also 100% fine and a good improvement already 👍 |
Signed-off-by: Joas Schilling <coding@schilljs.com>
57312a5
to
6f39d82
Compare
Before
Not really very verbose
After
Checklist