Skip to content
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 ultra-long invalid Scala version errors #2724

Conversation

Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Feb 9, 2024

Fixes #2722

The errors should get down to reasonable lengths from now on.

scala-cli -S 2.13.13-bin-ffc0292
# [error]  Cannot find a valid matching Scala version for 2.13.13-bin-ffc0292.
# You can only choose one of the 3.x, 2.13.x, and 2.12.x. versions.
# The latest supported stable versions are 2.12.18, 2.13.12, 3.3.1.
# In addition, you can request compilation with the last nightly versions of Scala,
# by passing the 2.nightly, 2.12.nightly, 2.13.nightly, or 3.nightly arguments.
# Specific Scala 2 or Scala 3 nightly versions are also accepted.
# You can also request the latest Scala 3 LTS by passing lts or 3.lts.

@Gedochao Gedochao force-pushed the maintenance/fix-super-long-scala-version-errors branch from 52ac5e2 to 5cb4208 Compare February 12, 2024 10:30
@Gedochao Gedochao enabled auto-merge (squash) February 12, 2024 10:30
@Gedochao Gedochao merged commit 06b59a6 into VirtusLab:main Feb 12, 2024
37 checks passed
@Gedochao Gedochao deleted the maintenance/fix-super-long-scala-version-errors branch February 12, 2024 11:58
Quafadas pushed a commit to Quafadas/scala-cli that referenced this pull request Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Excessively long (pages long) output when Scala version not found
2 participants