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

Incorrect message about outdated dep #1820

Closed
ckipp01 opened this issue Jan 31, 2023 · 1 comment
Closed

Incorrect message about outdated dep #1820

ckipp01 opened this issue Jan 31, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ckipp01
Copy link
Contributor

ckipp01 commented Jan 31, 2023

Version(s)
v0.1.20

Describe the bug
scala-cli tells me there is a newer version of a dep, but the dep it's recommending is older.

To Reproduce

//> using scala "2.13.10"
//> using lib "io.get-coursier::coursier:2.1.0-RC5"

import coursier._

object Main extends App {}
❯ scli run Main.scala
Compiling project (Scala 2.13.10, JVM)
Compiled project (Scala 2.13.10, JVM)
[hint] ./Main.scala:2:16: "coursier is outdated, update to 2.0.16"
[hint]      coursier 2.1.0-RC5 -> io.get-coursier::coursier:2.0.16
[hint] //> using lib "io.get-coursier::coursier:2.1.0-RC5"
[hint]                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expected behaviour
I wouldn't expect it to recommend an older version than I'm using.

@ckipp01 ckipp01 added the bug Something isn't working label Jan 31, 2023
@lwronski lwronski self-assigned this Feb 1, 2023
@lwronski
Copy link
Contributor

lwronski commented Feb 1, 2023

@ckipp01 Thanks for your reporting, it should be fixed from the next version of scala-cli. It was already fixed in #1813

@lwronski lwronski closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants