Fix typo (omission)
This commit is contained in:
parent
54c438d729
commit
facad7e44b
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user