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

using toolkit "latest" makes a warning #1809

Closed
bishabosha opened this issue Jan 26, 2023 · 1 comment · Fixed by #1817
Closed

using toolkit "latest" makes a warning #1809

bishabosha opened this issue Jan 26, 2023 · 1 comment · Fixed by #1817
Assignees
Labels
bug Something isn't working

Comments

@bishabosha
Copy link
Contributor

Version(s)
1.20.0

Describe the bug
If I put the directive using toolkit "latest" then I get a warning that "toolkit is outdated" :)

e.g.

[hint] ./myls/ls.scala:1:20: "toolkit is outdated, update to 0.1.4"
[hint]      toolkit latest.release -> 0.1.4
[hint] //> using toolkit "latest"
[hint]                    ^^^^^^

To Reproduce

scala-cli ls.scala command with the following snippet as contents of ls.scala:

//> using toolkit "latest"

@main def ls =
  os.list(os.pwd).foreach(println)

Expected behaviour
no warning

@lwronski
Copy link
Contributor

@bishabosha Thanks for reporting, it should be fixed in the next release of scala-cli.

@lwronski lwronski self-assigned this Jan 30, 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

Successfully merging a pull request may close this issue.

2 participants