summaryrefslogtreecommitdiff
path: root/source/github-helpers
diff options
context:
space:
mode:
Diffstat (limited to 'source/github-helpers')
-rw-r--r--source/github-helpers/github-url.ts2
-rw-r--r--source/github-helpers/search-query.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/github-helpers/github-url.ts b/source/github-helpers/github-url.ts
index 8f767e84..67f33e10 100644
--- a/source/github-helpers/github-url.ts
+++ b/source/github-helpers/github-url.ts
@@ -9,7 +9,7 @@ export default class GitHubURL {
branch = '';
filePath = '';
- private internalUrl: URL;
+ private readonly internalUrl: URL;
constructor(url: string) {
// Use Facade pattern instead of inheritance #3193
diff --git a/source/github-helpers/search-query.ts b/source/github-helpers/search-query.ts
index f7a20711..6b8d2f7d 100644
--- a/source/github-helpers/search-query.ts
+++ b/source/github-helpers/search-query.ts
@@ -48,7 +48,7 @@ export default class SearchQuery {
return new SearchQuery(url);
}
- private url: URL;
+ private readonly url: URL;
private queryParts: string[];
constructor(url: string | URL, base?: string) {