Closed jakst closed 3 weeks ago
The progress bar is causing most of these issues, especially the duplicated messages. I'll just remove it for now.
As for the "Successfully installed tools!" message, all tools are installed in separate threads, so the main thread doesn't know what was actually installed or not.
Ah ok. I see why upgrades run in separate threads, but could the initial version check run on the main thread so it can report something like upgrading 4 out of 8 tools
?
Anyway, as you say fixing the progress bar will be a big improvement on its own, so if that's fixed I'm happy!
This will be a lot prettier in the next version.
Fixed in 0.40
What version?
0.39.7
Which command?
proto use --include-global
What happened?
This is the output from the command when all tools are already up to date. There's a lot going on, despite nothing actually happening.
Some of the issues with this output:
Installing 8 tools: bun, deno, go, node, npm, pnpm, rust, yarn
gets repeated 6 timesSuccessfully installed tools!
message, despite nothing being installedI would've preferred a simple
All tools are already up to date
or8 tools are already up to date
. This noise is extra annoying when there actually are upgrades, because it gets hard to tell which tools have been upgraded among all the messages.I hope this feedback is helpful in cleaning up the messaging here! :)
Trace logs?
No response
Operating system?
MacOS
Architecture?
arm64