Fix typo (omission)

This commit is contained in:
GCHQDeveloper581 2026-04-29 12:06:16 +00:00
parent 54c438d729
commit facad7e44b
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C

View File

@ -30,7 +30,7 @@ const configFile = "/.gitconfig";
let gitUserEmail, gitUserName; let gitUserEmail, gitUserName;
// gitconfig in root is better than global one // gitconfig in root is better than global one
let gitConfig = process.cwd() + configFile; let gitConfig = process.cwd() + configFile;
if (!fs.existsSync()) { if (!fs.existsSync(gitConfig)) {
gitConfig = process.env.HOME + configFile; gitConfig = process.env.HOME + configFile;
} }
// get user settings from git // get user settings from git