refactor(rebrand): полный ребрендинг в Tachyon и перенос служб watchdog/doctor на Ucode

This commit is contained in:
Dushnilin
2026-07-13 14:03:31 +03:00
parent cd3591fbff
commit e89a795566
289 changed files with 4808 additions and 43 deletions
+19
View File
@@ -0,0 +1,19 @@
import { execSync } from 'child_process';
export function getGitUser(defaultName = 'Tachyon', defaultEmail = 'dushnilin@gmail.com') {
try {
const name = execSync('git config user.name', { stdio: ['ignore', 'pipe', 'ignore'] }).toString().trim();
const email = execSync('git config user.email', { stdio: ['ignore', 'pipe', 'ignore'] }).toString().trim();
if (name) {
return { name, email: email || defaultEmail };
}
} catch (error) {
// Fall through
}
return {
name: defaultName,
email: defaultEmail,
};
}