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

chore(instrumentation-grpc): remove unused findIndex() function #5372

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Jan 24, 2025

Which problem is this PR solving?

There is not a problem, but this appears to be unused code.

Fixes N/A

Short description of the changes

This commit removes the findIndex() function. This function appears to be unused and findIndex() is part of the language now.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Ran the test suite

Checklist:

  • Followed the style guidelines of this project

@cjihrig cjihrig requested a review from a team as a code owner January 24, 2025 21:49
This commit removes the findIndex() function. This function
appears to be unused and findIndex() is part of the language now.
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.62%. Comparing base (f927e82) to head (51f0cb2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5372      +/-   ##
==========================================
+ Coverage   94.54%   94.62%   +0.08%     
==========================================
  Files         318      318              
  Lines        8052     8044       -8     
  Branches     1694     1693       -1     
==========================================
- Hits         7613     7612       -1     
+ Misses        439      432       -7     
Files with missing lines Coverage Δ
...es/opentelemetry-instrumentation-grpc/src/utils.ts 95.55% <ø> (+12.53%) ⬆️

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