fix(install): Make installing more verbose#41214
Conversation
ChristophWurst
left a comment
There was a problem hiding this comment.
Inconsistent with the other methods but let's add the typing for new methods?
|
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