Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/@unreleased/pr-2403.v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
type: fix
fix:
description: Fix GitHub issues navigation Idea config
links:
- https://github.com/palantir/gradle-baseline/pull/2403
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static Optional<String> maybeGitHubUri() {
try {
String gitConfigContents = GFileUtils.readFile(new File(".git/config"));
Matcher matcher = GIT_ORIGIN.matcher(gitConfigContents);
if (!matcher.find()) {
if (matcher.find()) {
return Optional.of(String.format("https://%s/%s", matcher.group(1), matcher.group(2)));
}
return Optional.empty();
Expand Down