Skip to content

Commit

Permalink
chore: Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
metacurb committed Apr 1, 2024
1 parent 5c5c850 commit ecd520e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blamer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class Blamer {
return await this.clearBlameForFile(fileName);
}

async getLogForFileRevision(fileName: string, revision: string) {
async getLogForRevision(fileName: string, revision: string) {
const { enableLogs } = workspace.getConfiguration(EXTENSION_CONFIGURATION);

if (!enableLogs) {
Expand Down Expand Up @@ -328,7 +328,7 @@ export class Blamer {

if (!log) {
// Don't await this
this.getLogForFileRevision(fileName, blame.revision)
this.getLogForRevision(fileName, blame.revision)
.then(async (log) => {
// Don't do anything if no log is returned
if (!log) {
Expand Down

0 comments on commit ecd520e

Please sign in to comment.