Skip to content

Commit

Permalink
Fix linting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinthakagodawita committed Jun 24, 2021
1 parent 9b68d45 commit 95c97b0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/autoupdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,16 @@ export class AutoUpdater {
ghCore.info('Checking PR ready state');

if (readyStateFilter === 'draft' && !pull.draft) {
ghCore.info('PR_READY_STATE=draft and pull request is not draft, skipping update.');
ghCore.info(
'PR_READY_STATE=draft and pull request is not draft, skipping update.',
);
return false;
}

if (readyStateFilter === 'ready_for_review' && pull.draft) {
ghCore.info('PR_READY_STATE=ready_for_review and pull request is draft, skipping update.');
ghCore.info(
'PR_READY_STATE=ready_for_review and pull request is draft, skipping update.',
);
return false;
}
}
Expand Down

0 comments on commit 95c97b0

Please sign in to comment.