Skip to content

Commit

Permalink
Revert git.js changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed May 6, 2024
1 parent fcf6c73 commit 2ddece4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class Git {

async getBaseBranch() {
this.baseBranch = await execCmd(
`git branch --show-current`,
`git rev-parse --abbrev-ref HEAD`,
this.workingDir
)
}
Expand Down Expand Up @@ -201,7 +201,7 @@ export default class Git {

async getLastCommitSha() {
this.lastCommitSha = await execCmd(
`git log -1 --format='%H'`,
`git rev-parse HEAD`,
this.workingDir
)
}
Expand Down Expand Up @@ -547,4 +547,4 @@ export default class Git {
})
this.lastCommitSha = request.data.sha
}
}
}

0 comments on commit 2ddece4

Please sign in to comment.