Skip to content

Commit

Permalink
SLI-1437 Searching for a git repository on Rider should not throw (#1075
Browse files Browse the repository at this point in the history
)
  • Loading branch information
nquinquenel authored May 31, 2024
1 parent 6c227d0 commit 045a725
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class SonarLintSharedFolderUtils {
).debug("Several candidate Vcs repositories detected for module $module, choosing first")
}
repositories.first()
}.toSet().first().getGitDir()
}.toSet().firstOrNull()?.getGitDir()
}

}
Expand Down

0 comments on commit 045a725

Please sign in to comment.