summaryrefslogtreecommitdiff
path: root/source/github-helpers/pr-branches.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers/pr-branches.ts')
-rw-r--r--source/github-helpers/pr-branches.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/github-helpers/pr-branches.ts b/source/github-helpers/pr-branches.ts
index a2105bc8..38747679 100644
--- a/source/github-helpers/pr-branches.ts
+++ b/source/github-helpers/pr-branches.ts
@@ -1,4 +1,4 @@
-import select from 'select-dom';
+import {$} from 'select-dom';
export type PrReference = {
/** @example fregante/mem:main */
@@ -59,10 +59,10 @@ function parseReference(referenceElement: HTMLElement): PrReference {
export function getBranches(): {base: PrReference; head: PrReference} {
return {
get base() {
- return parseReference(select('.base-ref')!);
+ return parseReference($('.base-ref')!);
},
get head() {
- return parseReference(select('.head-ref')!);
+ return parseReference($('.head-ref')!);
},
};
}