Skip to content

Commit

Permalink
fix: regenerate dist (#511)
Browse files Browse the repository at this point in the history
Signed-off-by: Georgi Ivanov <georgi@ouzi.dev>
  • Loading branch information
givanov authored Jun 1, 2021
1 parent 0db7501 commit ce8553f
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1812,6 +1812,7 @@ module.exports = [["0","\u0000",127],["8ea1","。",62],["a1a1"," 、。,.
// ignored, since we can never get coverage for them.
var assert = __webpack_require__(357)
var signals = __webpack_require__(654)
var isWin = /^win/i.test(process.platform)

var EE = __webpack_require__(614)
/* istanbul ignore if */
Expand Down Expand Up @@ -1901,6 +1902,11 @@ signals.forEach(function (sig) {
/* istanbul ignore next */
emit('afterexit', null, sig)
/* istanbul ignore next */
if (isWin && sig === 'SIGHUP') {
// "SIGHUP" throws an `ENOSYS` error on Windows,
// so use a supported signal instead
sig = 'SIGINT'
}
process.kill(process.pid, sig)
}
}
Expand Down Expand Up @@ -6281,6 +6287,12 @@ function convertBody(buffer, headers) {
// html4
if (!res && str) {
res = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);
if (!res) {
res = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(str);
if (res) {
res.pop(); // drop last quote
}
}

if (res) {
res = /charset=(.*)/i.exec(res.pop());
Expand Down Expand Up @@ -7288,7 +7300,7 @@ function fetch(url, opts) {
// HTTP fetch step 5.5
switch (request.redirect) {
case 'error':
reject(new FetchError(`redirect mode is set to error: ${request.url}`, 'no-redirect'));
reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));
finalize();
return;
case 'manual':
Expand Down Expand Up @@ -7327,7 +7339,8 @@ function fetch(url, opts) {
method: request.method,
body: request.body,
signal: request.signal,
timeout: request.timeout
timeout: request.timeout,
size: request.size
};

// HTTP-redirect fetch step 9
Expand Down Expand Up @@ -12724,7 +12737,8 @@ class GithubHelper {
this.octokit = github.getOctokit(token);
if (github.context.eventName === 'pull_request') {
this.isPR = true;
this.payload = github.context.payload;
this.payload = github.context
.payload;
this.owner = this.payload.pull_request.head.repo.owner.login;
this.repo = this.payload.pull_request.head.repo.name;
this.sha = this.payload.pull_request.head.sha;
Expand Down

0 comments on commit ce8553f

Please sign in to comment.