Skip to content

Commit acf0ab5

Browse files
committed
Missed out path for issue. Resolves #30
1 parent d6aa0bd commit acf0ab5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/gitRepoStatus.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ const getGitStatus = async (repoPath) => {
266266
return stdout.trim();
267267
} else {
268268
console.log(stderr);
269-
return "";
269+
return ["NO_COMMITS"];
270270
}
271271
})
272272
.catch((err) => {
273273
console.log("Tracked file has been removed!", err);
274-
return "";
274+
return ["NO_COMMITS"];
275275
});
276276
})
277277
));

0 commit comments

Comments
 (0)