mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 09:59:43 +00:00
Fix linting error
This commit is contained in:
@@ -232,9 +232,9 @@ test("getGitHubVersion", async (t) => {
|
||||
|
||||
test("getGitHubAuth", async (t) => {
|
||||
const msgs: string[] = [];
|
||||
const mockLogger = ({
|
||||
const mockLogger = {
|
||||
warning: (msg: string) => msgs.push(msg),
|
||||
} as unknown) as Logger;
|
||||
} as unknown as Logger;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||
t.throwsAsync(async () => util.getGitHubAuth(mockLogger, "abc", true));
|
||||
|
||||
Reference in New Issue
Block a user