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

Force Chocolatey to use the proxy settings #74

Merged
merged 1 commit into from
Sep 6, 2017
Merged

Conversation

pix
Copy link
Contributor

@pix pix commented Sep 6, 2017

Sometimes, chocolatey decides to ignore the proxy settings,
The best way is to force it is through choco config

$ choco config set proxy proxy_address:3128

Copy link
Member

@obilodeau obilodeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Only a minor indentation issue.

@@ -15,6 +15,10 @@
{
"type": "windows-shell",
"inline": [
{% if proxy %}
{# Sometimes, choco decide to ignore the proxy... #}
"choco config set proxy {{ proxy }}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please indent the lines under the if?

@@ -34,6 +34,10 @@
{
"type": "windows-shell",
"inline": [
{% if proxy %}
{# Sometimes, choco decide to ignore the proxy... #}
"choco config set proxy {{ proxy }}",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please indent the lines under the if?

  Sometimes, chocolatey decides to ignore the proxy settings,
  The best way is to force it is through `choco config`

  $ choco config set proxy proxy_address:3128

Signed-off-by: Camille Moncelier <camille@moncelier.fr>
@pix
Copy link
Contributor Author

pix commented Sep 6, 2017

Is it ok now ?

@obilodeau obilodeau merged commit 8a12d34 into GoSecure:master Sep 6, 2017
@obilodeau
Copy link
Member

Thanks!

obilodeau added a commit that referenced this pull request Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants