-
Notifications
You must be signed in to change notification settings - Fork 76
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
use properties and environment when fetching metals #1498
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just one small suggestion. Thanks for working on this!
}: FetchMetalsOptions): Promise<PackedChildPromise> { | ||
const serverDependency = calcServerDependency(serverVersion); | ||
|
||
const fetchProperties = serverProperties.filter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just warn here, since we do debug metals sometimes and that requires setting debug settings.
Alternatively we could check if it's set to quiet=y.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I restored that filter
call from v1.29.0, but I'm not familiar with why it was there to being with.
To make sure I understand, are you asking to emit a warning message if -agentlib
is present indicating that it isn't being passed to Coursier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ach right, my bad. I forgot it was just for coursier, I assumed too much 😓 It's fine as it is, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
}: FetchMetalsOptions): Promise<PackedChildPromise> { | ||
const serverDependency = calcServerDependency(serverVersion); | ||
|
||
const fetchProperties = serverProperties.filter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ach right, my bad. I forgot it was just for coursier, I assumed too much 😓 It's fine as it is, thanks!
Fixes #1497