diff options
Diffstat (limited to 'source/github-helpers/github-url.ts')
-rw-r--r-- | source/github-helpers/github-url.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/github-helpers/github-url.ts b/source/github-helpers/github-url.ts index 785a86c5..371b160d 100644 --- a/source/github-helpers/github-url.ts +++ b/source/github-helpers/github-url.ts @@ -33,7 +33,9 @@ export default class GitHubURL { return this; } - private disambiguateReference(ambiguousReference: string[]): {branch: string; filePath: string} { + private disambiguateReference( + ambiguousReference: string[] + ): {branch: string; filePath: string} { const branch = ambiguousReference[0]; // History pages might use search parameters const filePathFromSearch = this.searchParams.getAll('path[]').join('/'); |