Skip to content

Commit

Permalink
docs: update ToC for README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prettier-toc-me[bot] committed Jul 5, 2023
1 parent 15a118f commit cad4ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ The `request` option is an instance of [`@octokit/request`](https://github.com/o
```js
const { data: authorizations } = await auth.hook(
request,
"GET /authorizations",
"GET /authorizations"
);
```

Expand Down Expand Up @@ -210,7 +210,7 @@ const scopes = response.headers["x-oauth-scopes"].split(/,\s+/);

if (scopes.length) {
console.log(
`"${TOKEN}" has ${scopes.length} scopes enabled: ${scopes.join(", ")}`,
`"${TOKEN}" has ${scopes.length} scopes enabled: ${scopes.join(", ")}`
);
} else {
console.log(`"${TOKEN}" has no scopes enabled`);
Expand All @@ -230,7 +230,7 @@ const clientId = response.headers["x-oauth-client-id"];

if (clientId) {
console.log(
`"${token}" is an OAuth token, its app’s client_id is ${clientId}.`,
`"${token}" is an OAuth token, its app’s client_id is ${clientId}.`
);
} else {
console.log(`"${token}" is a personal access token`);
Expand Down

0 comments on commit cad4ceb

Please sign in to comment.