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 CodeQL issues #278

Merged
merged 1 commit into from Feb 26, 2023
Merged

Fix CodeQL issues #278

merged 1 commit into from Feb 26, 2023

Conversation

sungam3r
Copy link
Member

No description provided.

@sungam3r sungam3r added the bugfix Pull request that fixes a bug label Feb 26, 2023
@@ -565,8 +562,9 @@ private static CodeExpression CreateInitialiserExpression(CustomAttributeArgumen
{
// CodeDOM outputs a verbatim string. Any string with \n is treated as such, so normalize
// it to make it easier for comparisons
value = Regex.Replace(s, @"\n", "\\n");
Copy link
Member Author

Choose a reason for hiding this comment

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

From CodeQL: This assignment to is useless, since its value is never read.

so bugfix here

@codecov-commenter
Copy link

Codecov Report

Base: 92.50% // Head: 92.48% // Decreases project coverage by -0.02% ⚠️

Coverage data is based on head (f9dceef) compared to base (83927e6).
Patch coverage: 100.00% of modified lines in pull request are covered.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   92.50%   92.48%   -0.02%     
==========================================
  Files          17       17              
  Lines        1160     1158       -2     
  Branches      209      208       -1     
==========================================
- Hits         1073     1071       -2     
  Misses         59       59              
  Partials       28       28              
Impacted Files Coverage Δ
src/PublicApiGenerator/ApiGenerator.cs 94.27% <100.00%> (-0.02%) ⬇️
src/PublicApiGenerator/CodeTypeReferenceBuilder.cs 91.75% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sungam3r sungam3r merged commit 10564ed into master Feb 26, 2023
@sungam3r sungam3r deleted the codeql branch February 26, 2023 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants