summaryrefslogtreecommitdiff
path: root/source/features/use-first-commit-message-for-new-prs.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2021-07-07 18:44:32 +0700
committerGravatar GitHub <noreply@github.com> 2021-07-07 18:44:32 +0700
commit93899eebabea8626587cadc37b028a3c48f39228 (patch)
treea59dddeea1c6bc76b45c02ef88bba43e2800e684 /source/features/use-first-commit-message-for-new-prs.tsx
parent40ed43f6cdd23178b6c6ee7c04a5731cb2342012 (diff)
downloadrefined-github-93899eebabea8626587cadc37b028a3c48f39228.tar.gz
refined-github-93899eebabea8626587cadc37b028a3c48f39228.tar.zst
refined-github-93899eebabea8626587cadc37b028a3c48f39228.zip
Lint: Enable `comma-dangle` (#4545)
Diffstat (limited to 'source/features/use-first-commit-message-for-new-prs.tsx')
-rw-r--r--source/features/use-first-commit-message-for-new-prs.tsx8
1 files changed, 4 insertions, 4 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 56a91fb9..3e4b7c27 100644
--- a/source/features/use-first-commit-message-for-new-prs.tsx
+++ b/source/features/use-first-commit-message-for-new-prs.tsx
@@ -16,18 +16,18 @@ async function init(): Promise<void | false> {
textFieldEdit.set(
select('.discussion-topic-header input')!,
- prTitle
+ prTitle,
);
textFieldEdit.insert(
select('#new_pull_request textarea[aria-label="Comment body"]')!,
- prMessage.join('\n\n')
+ prMessage.join('\n\n'),
);
}
void features.add(__filebasename, {
include: [
- pageDetect.isCompare
+ pageDetect.isCompare,
],
awaitDomReady: false,
- init
+ init,
});