diff options
author | 2023-09-19 22:22:30 +0800 | |
---|---|---|
committer | 2023-09-19 14:22:30 +0000 | |
commit | f9f6a0c70d1d3af559de9d189764abd7a43bf90d (patch) | |
tree | 72290431d5c14f2224466a9d7db72670944b7093 /source/github-helpers/github-file-url.ts | |
parent | f15e8e06f012d7d7d8d980c9e84d61c05dbe1065 (diff) | |
download | refined-github-f9f6a0c70d1d3af559de9d189764abd7a43bf90d.tar.gz refined-github-f9f6a0c70d1d3af559de9d189764abd7a43bf90d.tar.zst refined-github-f9f6a0c70d1d3af559de9d189764abd7a43bf90d.zip |
Meta: Rename `GitHubURL` to `GitHubFileURL` (#6931)
Diffstat (limited to '')
-rw-r--r-- | source/github-helpers/github-file-url.ts (renamed from source/github-helpers/github-url.ts) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/github-helpers/github-url.ts b/source/github-helpers/github-file-url.ts index 411b6091..1cb812aa 100644 --- a/source/github-helpers/github-url.ts +++ b/source/github-helpers/github-file-url.ts @@ -2,7 +2,7 @@ import {isRepoRoot} from 'github-url-detection'; import getCurrentGitRef from './get-current-git-ref.js'; -export default class GitHubURL { +export default class GitHubFileURL { user = ''; repository = ''; route = ''; @@ -21,7 +21,7 @@ export default class GitHubURL { return this.href; } - assign(...replacements: Array<Partial<GitHubURL>>): this { + assign(...replacements: Array<Partial<GitHubFileURL>>): this { Object.assign(this, ...replacements); return this; } |