Skip to content

Commit 0c636a9

Browse files
committed
Merge pull request #5 from neel1996/git_filetype_fix
1 parent 416c224 commit 0c636a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/gitRepoStatus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const getGitStatus = async (repoPath) => {
182182
gitTrackedFileDetails.push(item);
183183

184184
return await fs.promises
185-
.stat(`${item}`)
185+
.stat(`${repoPath}/${item}`)
186186
.then((fileType) => {
187187
if (fileType.isFile()) {
188188
return `${item}: File`;

0 commit comments

Comments
 (0)