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

Prevent warning during deps.edn jack-in #1355

Closed
bpringe opened this issue Oct 21, 2021 · 2 comments
Closed

Prevent warning during deps.edn jack-in #1355

bpringe opened this issue Oct 21, 2021 · 2 comments

Comments

@bpringe
Copy link
Member

bpringe commented Oct 21, 2021

The warning: WARNING: Implicit use of clojure.main with options is deprecated, use -M

It seems we can remove this just by adding -M to the jack-in command. I tested with this command:

clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"0.8.3"},cider/cider-nrepl {:mvn/version,"0.26.0"}}}' -M -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
@bpringe bpringe added this to To do in Brandon's Board via automation Oct 21, 2021
@bpringe
Copy link
Member Author

bpringe commented Oct 21, 2021

Further discussion is here: #826.

@PEZ Should we close this as a duplicate?

@PEZ
Copy link
Collaborator

PEZ commented Oct 22, 2021

This one is more visible. Let's close'em together with the fix. =)

@bpringe bpringe moved this from To do to In progress in Brandon's Board Dec 4, 2021
@bpringe bpringe changed the title Remove warning during deps.edn jack-in Prevent warning during deps.edn jack-in Dec 4, 2021
Brandon's Board automation moved this from In progress to Done Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants