chore(scripts): fix typo of hotfix

This commit is contained in:
Brandy Carney 2019-03-07 11:32:37 -05:00
parent cabbeb2c2f
commit cd0f03e4b6
1 changed files with 1 additions and 1 deletions

View File

@ -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.`);
}
})