Skip to content

Commit

Permalink
chore: rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenbroesby committed May 17, 2022
1 parent 52793f8 commit 4d8467d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const checkReleaseOptions = async ({
})
}

const performGitStatus = async () => {
const performGitStatusCheck = async () => {
const currentBranch = await getBranch()
if (currentBranch !== 'main') {
throw new Error(
Expand All @@ -186,7 +186,7 @@ async function releaseProject() {
/**
* Ensure we are on correct branch with clean git status.
*/
await performGitStatus()
await performGitStatusCheck()

console.info(`\n${chalk.white.underline.bold('[ Releasing Based ]')} \n`)

Expand Down

0 comments on commit 4d8467d

Please sign in to comment.