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: just use strings.TrimSuffix #14248

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

suzaku
Copy link
Contributor

@suzaku suzaku commented Jun 28, 2023

It's implemented in the same way in the standard library.

@suzaku suzaku force-pushed the rm-unnecessary-func branch from 1089e6c to 5a5b91c Compare June 28, 2023 07:46
@suzaku suzaku changed the title Just use strings.TrimSuffix chore: just use strings.TrimSuffix Jun 28, 2023
It's implemented in the same way in the standard library.

Signed-off-by: satoru <[email protected]>
@suzaku suzaku force-pushed the rm-unnecessary-func branch from 5a5b91c to 2f0f7f0 Compare June 28, 2023 07:48
@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.02 ⚠️

Comparison is base (b50e9f3) 49.78% compared to head (2f0f7f0) 49.76%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14248      +/-   ##
==========================================
- Coverage   49.78%   49.76%   -0.02%     
==========================================
  Files         261      261              
  Lines       44672    44667       -5     
==========================================
- Hits        22238    22229       -9     
- Misses      20249    20252       +3     
- Partials     2185     2186       +1     
Impacted Files Coverage Δ
util/git/git.go 84.78% <100.00%> (-1.50%) ⬇️

... and 1 file with indirect coverage changes

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

Copy link
Member

@crenshaw-dev crenshaw-dev left a comment

Choose a reason for hiding this comment

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

Thanks, @suzaku!

@crenshaw-dev crenshaw-dev merged commit 77fbfc8 into argoproj:master Jun 28, 2023
yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
It's implemented in the same way in the standard library.

Signed-off-by: satoru <[email protected]>
tesla59 pushed a commit to tesla59/argo-cd that referenced this pull request Dec 16, 2023
It's implemented in the same way in the standard library.

Signed-off-by: satoru <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants