Skip to content

chore: Use string.Method(char) instead of string.Method(string) when possible - #14255

Merged
Anthony Martin (anthony-c-martin) merged 2 commits into
Azure:mainfrom
Meir017:chore/string-comparison-methods-with-single-char
Jun 9, 2024
Merged

Anthony Martin (anthony-c-martin) merged 2 commits into
Azure:mainfrom
Meir017:chore/string-comparison-methods-with-single-char

Conversation

@Meir017

@Meir017 Meir Blachman (Meir017) commented Jun 9, 2024 •

Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for improving the code!

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 7.71%. Comparing base (108d816) to head (18409b8).
Report is 617 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main   #14255       +/-   ##
===========================================
- Coverage   94.28%    7.71%   -86.57%     
===========================================
  Files        1113        7     -1106     
  Lines      100791      350   -100441     
  Branches     8734      125     -8609     
===========================================
- Hits        95028       27    -95001     
+ Misses       4595      322     -4273     
+ Partials     1168        1     -1167     
Flag Coverage Δ
dotnet ?
typescript 7.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1104 files with indirect coverage changes

@anthony-c-martin
Anthony Martin (anthony-c-martin) merged commit 9969aed into Azure:main Jun 9, 2024
@github-actions

github-actions Bot commented Jun 9, 2024

Copy link
Copy Markdown
Contributor

Test this change out locally with the following install scripts (Action run 9439016547)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 9439016547
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 9439016547"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 9439016547
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 9439016547"

@Meir017
Meir Blachman (Meir017) deleted the chore/string-comparison-methods-with-single-char branch June 9, 2024 19:43
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.

3 participants