Skip to content

Commit

Permalink
Pass proxyUser/proxyPassword to LemMinX env vars (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Feb 8, 2022
1 parent 589252c commit 38e2de0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ private Collection<? extends String> getProxySettings() {
res.put(data.getType().toLowerCase() + ".proxyHost", data.getHost());
res.put(data.getType().toLowerCase() + ".proxyPort", Integer.toString(data.getPort()));
}
if (data.getUserId() != null) {
res.put(data.getType().toLowerCase() + ".proxyUser", data.getUserId());
}
if (data.getPassword() != null) {
res.put(data.getType().toLowerCase() + ".proxyPassword", data.getPassword());
}
}
String nonProxiedHosts = String.join("|", service.getNonProxiedHosts());
if (!nonProxiedHosts.isEmpty()) {
Expand Down

0 comments on commit 38e2de0

Please sign in to comment.