mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 01:49:43 +00:00
Remove unneeded type assertion now that ApiClient exists
This commit is contained in:
@@ -99,8 +99,7 @@ test.serial("getRemoteConfig uses proxy when it is supposed to", async (t) => {
|
||||
throw new Error(errorMessage);
|
||||
}
|
||||
// Otherwise return the client object.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||
return client as unknown as any;
|
||||
return client;
|
||||
});
|
||||
|
||||
const target = callee(getRemoteConfig)
|
||||
|
||||
Reference in New Issue
Block a user