Skip to content

Commit

Permalink
build(release): 1.5.1 [skip ci]
Browse files Browse the repository at this point in the history
## [1.5.1](v1.5.0...v1.5.1) (2023-11-01)

### Bug Fixes

* **deps:** bump the production-dependencies group with 1 update ([#68](#68)) ([6375dce](6375dce))
  • Loading branch information
semantic-release-bot committed Nov 1, 2023
1 parent 6375dce commit eaddb9e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
12 changes: 10 additions & 2 deletions dist/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2811,7 +2811,7 @@ var require_dist_node5 = __commonJS({
module2.exports = __toCommonJS2(dist_src_exports);
var import_endpoint = require_dist_node2();
var import_universal_user_agent = require_dist_node();
var VERSION = "8.1.2";
var VERSION = "8.1.4";
var import_is_plain_object = require_is_plain_object();
var import_request_error = require_dist_node4();
function getBufferResponse(response) {
Expand Down Expand Up @@ -2911,7 +2911,15 @@ var require_dist_node5 = __commonJS({
throw error;
else if (error.name === "AbortError")
throw error;
throw new import_request_error.RequestError(error.message, 500, {
let message = error.message;
if (error.name === "TypeError" && "cause" in error) {
if (error.cause instanceof Error) {
message = error.cause.message;
} else if (typeof error.cause === "string") {
message = error.cause;
}
}
throw new import_request_error.RequestError(message, 500, {
request: requestOptions
});
});
Expand Down
12 changes: 10 additions & 2 deletions dist/post.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2811,7 +2811,7 @@ var require_dist_node5 = __commonJS({
module2.exports = __toCommonJS2(dist_src_exports);
var import_endpoint = require_dist_node2();
var import_universal_user_agent = require_dist_node();
var VERSION = "8.1.2";
var VERSION = "8.1.4";
var import_is_plain_object = require_is_plain_object();
var import_request_error = require_dist_node4();
function getBufferResponse(response) {
Expand Down Expand Up @@ -2911,7 +2911,15 @@ var require_dist_node5 = __commonJS({
throw error;
else if (error.name === "AbortError")
throw error;
throw new import_request_error.RequestError(error.message, 500, {
let message = error.message;
if (error.name === "TypeError" && "cause" in error) {
if (error.cause instanceof Error) {
message = error.cause.message;
} else if (typeof error.cause === "string") {
message = error.cause;
}
}
throw new import_request_error.RequestError(message, 500, {
request: requestOptions
});
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "create-github-app-token",
"private": true,
"type": "module",
"version": "1.5.0",
"version": "1.5.1",
"description": "GitHub Action for creating a GitHub App Installation Access Token",
"scripts": {
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node16.16",
Expand Down

0 comments on commit eaddb9e

Please sign in to comment.