chore: better error message

This commit is contained in:
Miodec 2024-03-18 12:04:53 +01:00
parent b339cd082c
commit 26d61f595f

View file

@ -13,6 +13,7 @@ let git;
try {
git = simpleGit(path.join(__dirname, PATH_TO_REPO));
} catch (e) {
console.error(`Failed to initialize git: ${e}`);
git = undefined;
}