diff options
Diffstat (limited to '')
-rw-r--r-- | source/features/use-first-commit-message-for-new-prs.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/use-first-commit-message-for-new-prs.tsx b/source/features/use-first-commit-message-for-new-prs.tsx index 372f35cc..56a91fb9 100644 --- a/source/features/use-first-commit-message-for-new-prs.tsx +++ b/source/features/use-first-commit-message-for-new-prs.tsx @@ -7,7 +7,7 @@ import features from '.'; import looseParseInt from '../helpers/loose-parse-int'; async function init(): Promise<void | false> { - const commitCount = (await elementReady<HTMLElement>('div.Box.mb-3 .octicon-git-commit'))?.nextElementSibling; + const commitCount = (await elementReady('div.Box.mb-3 .octicon-git-commit'))?.nextElementSibling; if (!commitCount || looseParseInt(commitCount) < 2 || !select.exists('#new_pull_request')) { return false; } |