Skip to content

Commit

Permalink
lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chapiewsky committed Jun 4, 2019
1 parent 9e3828d commit 0a06886
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/giveaways.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,14 @@ async function enterFollowGiveaway(page, repeatAttempt) {

let foundFollowBtn = true;
try {
await page.waitForSelector('.follow-author-continue-button', { timeout: 5000 });
await page.waitForSelector('.follow-author-continue-button', {
timeout: 5000
});
await page.click('.follow-author-continue-button', { delay: 2000 });
} catch (error) {
console.log('could not find follow button, trying to click box instead');
console.log(
'could not find follow button, trying to click box instead'
);
foundFollowBtn = false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ exports.handler = function(argv) {
message: 'Enter Follow type giveaways',
type: 'confirm',
default: false
},
}
])
.then(answers => {
answers.sendgrid_cc = '';
Expand Down

0 comments on commit 0a06886

Please sign in to comment.