Updated license check
This commit is contained in:
@@ -7,8 +7,13 @@ async function checkLicense() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
gitUser =
|
gitUser =
|
||||||
execSync('git config user.username').toString().trim() ||
|
execSync('git config user.username').toString().trim();
|
||||||
execSync('git config user.name').toString().trim();
|
|
||||||
|
if (!gitUser) {
|
||||||
|
gitUser = execSync('git config user.name').toString().trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
gitEmail = execSync('git config user.email').toString().trim();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn(`Error checking git user: ${error.message}`);
|
console.warn(`Error checking git user: ${error.message}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user