Skip to content

Commit

Permalink
chore(deps): bump @octokit/request from 8.1.6 to 8.2.0 (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 13, 2024
1 parent 6c3ef5f commit e2036fd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
12 changes: 9 additions & 3 deletions dist/832.index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3929,7 +3929,7 @@ var import_endpoint = __webpack_require__(9440);
var import_universal_user_agent = __webpack_require__(5030);

// pkg/dist-src/version.js
var VERSION = "8.1.6";
var VERSION = "8.2.0";

// pkg/dist-src/is-plain-object.js
function isPlainObject(value) {
Expand Down Expand Up @@ -4073,11 +4073,17 @@ async function getResponseData(response) {
function toErrorMessage(data) {
if (typeof data === "string")
return data;
let suffix;
if ("documentation_url" in data) {
suffix = ` - ${data.documentation_url}`;
} else {
suffix = "";
}
if ("message" in data) {
if (Array.isArray(data.errors)) {
return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`;
return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}${suffix}`;
}
return data.message;
return `${data.message}${suffix}`;
}
return `Unknown error: ${JSON.stringify(data)}`;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/832.index.js.map

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@actions/core": "1.10.1",
"@actions/github": "6.0.0",
"@adobe/node-fetch-retry": "2.2.0",
"@octokit/request": "8.1.6",
"@octokit/request": "8.2.0",
"@octokit/rest": "20.0.2",
"axios": "1.6.7",
"bluebird": "3.7.2",
Expand Down

0 comments on commit e2036fd

Please sign in to comment.