forked from electron-userland/electron-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the way of adding "Authorization" header to github api requests
- Loading branch information
1 parent
bbdc29a
commit 3b0668d
Showing
2 changed files
with
38 additions
and
11 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
The path to file doesn't contain filename when it's downloaded from private repo on GitHub and a content type which can be read from the response is "application/octet-stream".
So, it needs to save original filename to be able to detect if it's json or yml or something else further.