Update checked-in dependencies
This commit is contained in:
parent
3934d2b758
commit
655a969b7c
221 changed files with 2272 additions and 1525 deletions
11
node_modules/@octokit/webhooks/dist-src/middleware/node/handle-response.js
generated
vendored
Normal file
11
node_modules/@octokit/webhooks/dist-src/middleware/node/handle-response.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function handleResponse(body, status = 200, headers = {}, response) {
|
||||
if (body === null) {
|
||||
return false;
|
||||
}
|
||||
headers["content-length"] = body.length.toString();
|
||||
response.writeHead(status, headers).end(body);
|
||||
return true;
|
||||
}
|
||||
export {
|
||||
handleResponse
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue