mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 05:30:16 +08:00
Enable unsafe call rule
This commit is contained in:
@@ -85,6 +85,7 @@ export async function getGitHubVersionFromApi(
|
||||
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user