Update GithubUrlReader.ts

This commit is contained in:
Mikael Östberg
2020-12-04 09:06:26 +01:00
committed by GitHub
parent 6c91854391
commit be98e222ee
@@ -196,7 +196,7 @@ export class GithubUrlReader implements UrlReader {
new URL(
`${protocol}://${resource}/${full_name}/archive/${ref}.tar.gz`,
).toString(),
getApiRequestOptions(this.config)
getRawRequestOptions(this.config),
);
if (!response.ok) {
const message = `Failed to read tree from ${url}, ${response.status} ${response.statusText}`;