-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Github Enterprise, upgrade Github client package
@octokit/rest is the new (since January) NPM package for accessing the Github API. There are some differences that are taken care of here. One of them is setting the mime type on asset upload. Since octokit initialization happens on init (instead of module execution), I've hacked up a means to use Sinon for mocking it. The primary result of this change is to allow for publishing to Github Enterprise instances.
- Loading branch information
Allen Luce
committed
Aug 3, 2018
1 parent
c239d3f
commit 52e9af0
Showing
3 changed files
with
85 additions
and
93 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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