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

fix: OtelBin sonarCloud issues fix #173

Merged
merged 4 commits into from
Nov 5, 2023
Merged

fix: OtelBin sonarCloud issues fix #173

merged 4 commits into from
Nov 5, 2023

Conversation

roshan-gh
Copy link
Contributor

No description provided.

@roshan-gh roshan-gh requested a review from bripkens November 4, 2023 23:26
@roshan-gh roshan-gh self-assigned this Nov 4, 2023
Copy link

vercel bot commented Nov 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
otelbin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 5, 2023 11:53am

@roshan-gh
Copy link
Contributor Author

fixed sonarCloud issues @bripkens

Copy link
Member

@bripkens bripkens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM aside from the component naming

@@ -82,22 +82,22 @@ export default function ErrorConsole({ errors, font }: { errors?: IError; font:
{errors?.ajvErrors &&
errors.ajvErrors?.length > 0 &&
errors.ajvErrors.map((error: IAjvError, index: number) => {
return <Error key={index} error={error} font={font} />;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: The naming is a bit confusing, as this can also be a warning. Similar for the component CountErrorMessages

Copy link

sonarqubecloud bot commented Nov 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 14 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bripkens better now?

@roshan-gh
Copy link
Contributor Author

@bripkens it seems sonarCloud generated a couple of new code smells. I will fix them too.

@bripkens bripkens merged commit 058ac1d into main Nov 5, 2023
@bripkens bripkens deleted the sonarCloud-issues-fix branch November 5, 2023 13:54
@github-actions github-actions bot locked and limited conversation to collaborators Nov 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants