summaryrefslogtreecommitdiff
path: root/source/github-helpers/github-url.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers/github-url.ts')
-rw-r--r--source/github-helpers/github-url.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/github-helpers/github-url.ts b/source/github-helpers/github-url.ts
index 7f964b20..066e27e4 100644
--- a/source/github-helpers/github-url.ts
+++ b/source/github-helpers/github-url.ts
@@ -34,7 +34,7 @@ export default class GitHubURL {
}
private disambiguateReference(
- ambiguousReference: string[]
+ ambiguousReference: string[],
): {branch: string; filePath: string} {
const branch = ambiguousReference[0];
// History pages might use search parameters
@@ -67,7 +67,7 @@ export default class GitHubURL {
return {
branch: currentBranch,
- filePath: ambiguousReference.slice(currentBranchSections.length).join('/')
+ filePath: ambiguousReference.slice(currentBranchSections.length).join('/'),
};
}