Skip to content

Commit 2a95708

Browse files
committed
Code Quality: Fixed inverted if statement from #16141
1 parent 9c82623 commit 2a95708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Utils/Git/GitHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ public static bool IsRepositoryEx(string path, out string repoRootPath)
647647
if (string.IsNullOrEmpty(repositoryRootPath))
648648
return false;
649649

650-
if (!IsRepoValid(repositoryRootPath))
650+
if (IsRepoValid(repositoryRootPath))
651651
{
652652
repoRootPath = repositoryRootPath;
653653
return true;

0 commit comments

Comments
 (0)