Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Improve the condition whether NetWorkCredential is valid or not #534

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gab-km
Copy link

@Gab-km Gab-km commented Aug 1, 2014

This PR is new version of the PR #332 .

[net.CredentialCache]::DefaultCredentials may return a default System.Net.NetworkCredential instance.
But Chocolatey checks only if $cred is null or not for the need of NetworkCredential.
It may have another check whether this variable is the default NetworkCredential instance or not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants