spelling: costs

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-08-11 09:32:28 -04:00
parent b00212a2dc
commit f10601d625
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -592,7 +592,7 @@ class IssuesProcessor {
return; // Don't process exempt assignees
}
// Ignore draft PR
// Note that this check is so far below because it cost one read operation
// Note that this check is so far below because it costs one read operation
// So it's simply better to do all the stale checks which don't cost an operation before this one
const exemptDraftPullRequest = new exempt_draft_pull_request_1.ExemptDraftPullRequest(this.options, issue);
if (yield exemptDraftPullRequest.shouldExemptDraftPullRequest(() => __awaiter(this, void 0, void 0, function* () {

View File

@ -428,7 +428,7 @@ export class IssuesProcessor {
}
// Ignore draft PR
// Note that this check is so far below because it cost one read operation
// Note that this check is so far below because it costs one read operation
// So it's simply better to do all the stale checks which don't cost an operation before this one
const exemptDraftPullRequest: ExemptDraftPullRequest =
new ExemptDraftPullRequest(this.options, issue);