diff --git a/.scripts/common.js b/.scripts/common.js index eefc254ccc..5cf8d40be4 100644 --- a/.scripts/common.js +++ b/.scripts/common.js @@ -37,7 +37,7 @@ function checkGit(tasks) { { title: 'Check current branch', task: () => execa.stdout('git', ['symbolic-ref', '--short', 'HEAD']).then(branch => { - if (branch.indexOf('release') === -1 && branch.indexOf('hofix') === -1) { + if (branch.indexOf('release') === -1 && branch.indexOf('hotfix') === -1) { throw new Error(`Must be on a "release" or "hotfix" branch.`); } })