Skip to content

Commit 08beabf

Browse files
committedApr 21, 2019
chore: fix remote checking
1 parent f6c1582 commit 08beabf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/check-commit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function checkCommit({ files }) {
4242

4343
async function checkRemote() {
4444
const { remote } = await git.fetch('origin', 'master');
45-
if (remote.indexOf('ant-design/ant-design') === -1 || true) {
45+
if (remote.indexOf('ant-design/ant-design') === -1) {
4646
console.log(chalk.yellow('😓 Your remote origin is not ant-design. Do you fork it?'));
4747
exitProcess();
4848
}

0 commit comments

Comments
 (0)
Please sign in to comment.