Skip to content

Commit 27d7cd3

Browse files
committed
fix: Use rest client for reporter
1 parent bc91a32 commit 27d7cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export async function reportCheck(
141141
warnings: Array<interfaces.Warning>,
142142
): Promise<void> {
143143
const client = github.getOctokit(token, {userAgent: USER_AGENT});
144-
const reporter = new checks.CheckReporter(client, 'Security audit');
144+
const reporter = new checks.CheckReporter(client.rest, 'Security audit');
145145
const stats = getStats(vulnerabilities, warnings);
146146
const summary = getSummary(stats);
147147

0 commit comments

Comments
 (0)