Feature request: Do not break the progress if there is a networking problem. #3403
Labels
enhancement
New feature or request
fmt
Issues tied to the fmt sub-command
requires scoping
Issue requires a spike to revalidate it and assign an up-to date scope for its requirements.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I lives in China, and there is a GFW, so the networking is not stable. I have a local 3.8.3 fmt which has been downloaded by scala-cli.
But everytime I run a
scala-cli fmt
,scala-cli
will try to download the same 3.8.3, and then if the networking is bad, it will break the whole progress.Describe the solution you'd like
Check if there is a local cache, if there is, skip the network checking, just run it.
if the local cache is broken, a user can run
scala-cli fmt -f
to run the whole progress, eg redownloading.Describe alternatives you've considered
Run it from sbt shell
Additional context
Please support this thanks.
The text was updated successfully, but these errors were encountered: