Skip to content

Commit

Permalink
chore: add log
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverEllipsis committed Nov 12, 2024
1 parent 1645a34 commit 65fb061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check-account/check-credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ try {

const forbiddenPatterns = /alibaba-inc|alibabapictures/i;

console.log('账号名', userName);
console.log('邮箱', userEmail);
console.log('Name:', userName);
console.log('Email:', userEmail);
if (forbiddenPatterns.test(userName) || forbiddenPatterns.test(userEmail)) {
console.error('💔Git用户名或邮箱不符合规范,禁止提交。');
process.exit(1);
Expand Down

0 comments on commit 65fb061

Please sign in to comment.