Commit 0e82805
authored
refactor: omit unnecessary reassignment (#2584)
<!--
Please read and fill out this form before submitting your PR.
Please make sure you have reviewed our contributors guide before
submitting your
first PR.
NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->
## Overview
<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
Ex: Closes #<issue number>
-->
The new version of Go has been optimized, and variables do not need to
be reassigned.
Inspired by helm/helm#31134
Signed-off-by: deepdring <deepdrink@icloud.com>1 parent 94069b8 commit 0e82805
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
234 | 233 | | |
235 | 234 | | |
236 | 235 | | |
237 | | - | |
238 | 236 | | |
239 | 237 | | |
240 | 238 | | |
| |||
426 | 424 | | |
427 | 425 | | |
428 | 426 | | |
429 | | - | |
430 | 427 | | |
431 | 428 | | |
432 | 429 | | |
| |||
0 commit comments