mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
add 4.0-prepare in the check deps
This commit is contained in:
parent
d6099be34a
commit
1f012fb8e9
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user