Public Access
fix: Use rest client for reporter
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ export async function reportCheck(
|
||||
warnings: Array<interfaces.Warning>,
|
||||
): Promise<void> {
|
||||
const client = github.getOctokit(token, {userAgent: USER_AGENT});
|
||||
const reporter = new checks.CheckReporter(client, 'Security audit');
|
||||
const reporter = new checks.CheckReporter(client.rest, 'Security audit');
|
||||
const stats = getStats(vulnerabilities, warnings);
|
||||
const summary = getSummary(stats);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user