Skip to content

Commit

Permalink
feat: resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed Jun 16, 2024
1 parent 54e3d8e commit 7b35cbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/gitroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function getScanResults(
scan: userScan,
username: string
): Promise<string | undefined> {
const browser: Browser = await puppeteer.launch();
const browser: Browser = await puppeteer.launch({ headless: true });
const page: Page = await browser.newPage();
const url: string = `${GitRoll.SCAN_URL}?id=${scan.id}&user=${username}&pid=${scan.profileId}&_rsc=5cmev`;
await page.goto(url);
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export async function run(): Promise<void> {
const waitForScan: boolean = core.getBooleanInput("wait");
const content: GitRollResult = await startScan(username, waitForScan);
core.info(`Results: ${JSON.stringify(content)}`);
await Promise.resolve();
}

/**
Expand Down

0 comments on commit 7b35cbc

Please sign in to comment.