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