Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Jan 8, 2025
1 parent 48135f3 commit 42f21ab
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions scripts/overrides/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,13 @@ export default function overrides(file, schema) {
"get",
"./repos-compare-commits.deref.json",
);
if (isDotcom || isGHES && ghesVersion < 3.14) {
addOperation(schema, "/orgs/{org}/organization-fine-grained-permissions", "get", "./list-organization-fine-grained-permissions.deref.json");
if (isDotcom || (isGHES && ghesVersion < 3.14)) {
addOperation(
schema,
"/orgs/{org}/organization-fine-grained-permissions",
"get",
"./list-organization-fine-grained-permissions.deref.json",
);
}
} else {
// The `/app/installations/` endpoint has bad usage of `anyof` in the response body schema
Expand Down Expand Up @@ -202,8 +207,13 @@ export default function overrides(file, schema) {
"post",
"./checks-create.json",
);
if (isDotcom || isGHES && ghesVersion < 3.14) {
addOperation(schema, "/orgs/{org}/organization-fine-grained-permissions", "get", "./list-organization-fine-grained-permissions.json");
if (isDotcom || (isGHES && ghesVersion < 3.14)) {
addOperation(
schema,
"/orgs/{org}/organization-fine-grained-permissions",
"get",
"./list-organization-fine-grained-permissions.json",
);
}
}

Expand Down

0 comments on commit 42f21ab

Please sign in to comment.