diff options
Diffstat (limited to 'source/github-helpers/github-url.ts')
-rw-r--r-- | 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-url.ts index 2f592f50..e31b307c 100644 --- a/source/github-helpers/github-url.ts +++ b/source/github-helpers/github-url.ts @@ -1,4 +1,4 @@ -import {getCurrentCommittish} from './index.js'; +import getCurrentGitRef from './get-current-git-ref.js'; export default class GitHubURL { user = ''; @@ -37,7 +37,7 @@ export default class GitHubURL { const filePath = ambiguousReference.slice(1).join('/'); - const currentBranch = getCurrentCommittish(); + const currentBranch = getCurrentGitRef(); const currentBranchSections = currentBranch?.split('/'); if ( !currentBranch // Current branch could not be determined (1/2) |