Repository navigation
Use github token environment variable with HttpClient - #3460
Merged
Merged
Conversation
BlythMeister
approved these changes
Dec 18, 2018
Member
forki
reviewed
Dec 18, 2018
| env = "true" || env = "yes" || env = "y" | ||
|
|
||
| let createHttpClient (url,auth:Auth option) = | ||
| let githubToken = Environment.GetEnvironmentVariable "PAKET_GITHUB_API_TOKEN" |
Contributor
Author
|
@forki updated; Visual Studio liked it, but the build script didn't! Have also extracted it out into a private function, since it was being fetched in 3 places now |
Member
|
Thanks. It's released
Am Mi., 19. Dez. 2018, 10:54 hat Martyn Osborne <[email protected]>
geschrieben:
… @forki <https://github.com/forki> updated; Visual Studio liked it, but
the build script didn't!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3460 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNA-5jpP5Sp8aSN3tgGq3xIJWKY0Cks5u6gzygaJpZM4ZYTUC>
.
|
Member
|
I have to revert that change since it seems to create a new issue: #3461 Can you please take a look? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

The PAKET_GITHUB_API_TOKEN environment variable wasn't being used by the HttpClient implementation, which seems to be used mostly everywhere by default now.