Skip to content

STRWEB-64 correctly check for duplicate @folio modules - #192

Open
zburke wants to merge 1 commit into
mainfrom
STRWEB-64
Open

STRWEB-64 correctly check for duplicate @folio modules#192
zburke wants to merge 1 commit into
mainfrom
STRWEB-64

Conversation

@zburke

@zburke zburke commented Aug 25, 2026

Copy link
Copy Markdown
Member

When checking for duplicate packages, do it correctly by searching for the full package-name, including namespace. Convert from an array to a Set because Sonar asked pretty please. In fact this is a bit of a hint to the source of the original bug: Array.includes() vs String.includes(). The first matches if an element is an exact match and the latter if an element is a substring.

Refs STRWEB-64

When checking for duplicate packages, do it correctly by searching for
the full package-name, including namespace. Convert from an array to a
Set because Sonar asked pretty please. In fact this is a bit of a hint
to the source of the original bug: `Array.includes()` vs
`String.includes()`. The first matches if an element is an exact match
and the latter if an element is a substring.

Refs STRWEB-64
@zburke
zburke requested a review from a team as a code owner August 25, 2026 17:43
@github-actions

Copy link
Copy Markdown

Jest Unit Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit da404c5. ± Comparison against base commit 8eb1cff.

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant