summaryrefslogtreecommitdiff
path: root/source/github-helpers/get-default-branch.ts
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/github-helpers/get-default-branch.ts
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/github-helpers/get-default-branch.ts')
-rw-r--r--source/github-helpers/get-default-branch.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/github-helpers/get-default-branch.ts b/source/github-helpers/get-default-branch.ts
index 06d3b477..aae07889 100644
--- a/source/github-helpers/get-default-branch.ts
+++ b/source/github-helpers/get-default-branch.ts
@@ -51,7 +51,7 @@ const getDefaultBranch = cache.function(async function (repository?: pageDetect.
}, {
maxAge: {hours: 1},
staleWhileRevalidate: {days: 20},
- cacheKey: ([repository = getRepo()]) => `default-branch:${repository?.nameWithOwner!}`
+ cacheKey: ([repository = getRepo()]) => `default-branch:${repository?.nameWithOwner!}`,
});
export default getDefaultBranch;