Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug found in SonarCloud related to Reliability #8586

Open
pardo-13 opened this issue Mar 9, 2025 · 0 comments
Open

Bug found in SonarCloud related to Reliability #8586

pardo-13 opened this issue Mar 9, 2025 · 0 comments
Labels

Comments

@pardo-13
Copy link

pardo-13 commented Mar 9, 2025

Description

In SonarCloud, in the file frontend/src/app/testQueue/testCardTestConstants.ts, a bug was found in the line 458 related to return a value which is not assigned to a variable.

Possible Solution

Following the SonarCloud instructions:

export const devicesMap = new Map();
facilityInfo.deviceTypes.forEach((d) => devicesMap.set(d.internalId, d));

This could solve the Reliability Problem in that file.

@pardo-13 pardo-13 added the Bug label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant