Skip to content

Commit 4e5afd1

Browse files
partoufclaude
andcommitted
Remove Go fallback for non-go_ prefixed Conan packages
Go libraries always use the go_ prefix in Conan (e.g. go_uuid), so bare library names like "protobuf" should never fall through to the Go library list. This was causing the C++ protobuf package to appear on the Go page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9d37fa9 commit 4e5afd1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,7 @@ async function refreshConanLibraries(forceall) {
246246
language = 'rust';
247247
} else {
248248
ceLib = _.find(allFortranLibrariesAndVersions, (lib) => lib.id === libraryId);
249-
if (ceLib) {
250-
language = 'fortran';
251-
} else {
252-
ceLib = _.find(allGoLibrariesAndVersions, (lib) => lib.id === libraryId);
253-
if (ceLib) language = 'go';
254-
}
249+
if (ceLib) language = 'fortran';
255250
}
256251
}
257252
}

0 commit comments

Comments
 (0)