Enable unsafe call rule
This commit is contained in:
parent
d8f549d6d8
commit
e7d04fdb41
27 changed files with 135 additions and 129 deletions
1
lib/api-client.js
generated
1
lib/api-client.js
generated
|
|
@ -73,6 +73,7 @@ async function getGitHubVersionFromApi(apiClient, apiDetails) {
|
|||
}
|
||||
// Doesn't strictly have to be the meta endpoint as we're only
|
||||
// using the response headers which are available on every request.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||
const response = await apiClient.rest.meta.get();
|
||||
// This happens on dotcom, although we expect to have already returned in that
|
||||
// case. This can also serve as a fallback in cases we haven't foreseen.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue