mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 05:12:11 +01:00
Updated the error code
This commit is contained in:
parent
78a27a6823
commit
ca496c67ee
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ Moment.suppressDeprecationWarnings = true;
|
|||
try {
|
||||
GitStats.initConfig();
|
||||
} catch (err) {
|
||||
if (err.code !== "ENOENT") {
|
||||
if (err.code !== "MODULE_NOT_FOUND") {
|
||||
Logger.log("Failed to read the config file:\n" + err.stack, "warn");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue