add 4.0-prepare in the check deps

This commit is contained in:
zombiej 2019-07-30 19:50:04 +08:00
parent d6099be34a
commit 1f012fb8e9

View File

@ -24,7 +24,7 @@ async function checkVersion() {
}
async function checkBranch({ current }) {
if (current !== 'master') {
if (current !== 'master' || current !== '4.0-prepare') {
console.log(chalk.yellow('🤔 You are not in the master branch!'));
exitProcess();
}