Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
jholt1 committed Apr 16, 2020
1 parent 8684d44 commit ad9355b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -131239,7 +131239,7 @@ const createScreenshot = async (context, url, name) => {
const base64Image = await page.screenshot({fullPage: true});
const screenshot = Buffer.from(base64Image, 'base64');

page.close({runBeforeUnload: true});
await page.close({runBeforeUnload: true});

return screenshot;
};
Expand Down Expand Up @@ -142066,7 +142066,7 @@ const s3_access_token = core.getInput('S3_access_token');
const s3_secret_token = core.getInput('S3_secret_token');
const s3_bucket = core.getInput('S3_bucket');
const s3_region = core.getInput('S3_region');
const breakdown = 30;
const breakdown = 40;
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
const commit = process.env.GITHUB_SHA;
const pull_request = github.context.payload.pull_request;
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const createScreenshot = async (context, url, name) => {
const base64Image = await page.screenshot({fullPage: true});
const screenshot = Buffer.from(base64Image, 'base64');

page.close({runBeforeUnload: true});
await page.close({runBeforeUnload: true});

return screenshot;
};
Expand Down

0 comments on commit ad9355b

Please sign in to comment.