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

services: fix gosimple warning #2473

Merged
merged 1 commit into from
May 11, 2022
Merged

services: fix gosimple warning #2473

merged 1 commit into from
May 11, 2022

Conversation

AnnaShaleva
Copy link
Member

Originally found by Lint GA in #2389.

Fix the following warning:

S1001: should use copy() instead of a loop (gosimple)

Fix the following warning:
```
S1001: should use copy() instead of a loop (gosimple)
```
@codecov
Copy link

codecov bot commented May 11, 2022

Codecov Report

Merging #2473 (48ee33f) into master (711e217) will increase coverage by 0.00%.
The diff coverage is 84.72%.

@@           Coverage Diff           @@
##           master    #2473   +/-   ##
=======================================
  Coverage   85.09%   85.10%           
=======================================
  Files         291      291           
  Lines       36780    36804   +24     
=======================================
+ Hits        31298    31321   +23     
- Misses       4170     4171    +1     
  Partials     1312     1312           
Impacted Files Coverage Δ
cli/flags/address.go 100.00% <ø> (ø)
cli/flags/fixed8.go 100.00% <ø> (ø)
cli/input/input.go 51.21% <ø> (ø)
cli/options/options.go 90.62% <ø> (ø)
cli/paramcontext/context.go 62.50% <ø> (ø)
cli/smartcontract/generate.go 83.33% <ø> (ø)
cli/wallet/legacy.go 89.88% <ø> (ø)
cli/wallet/validator.go 74.85% <0.00%> (ø)
pkg/compiler/analysis.go 96.04% <ø> (ø)
pkg/compiler/func_scope.go 100.00% <ø> (ø)
... and 169 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2b79a16...48ee33f. Read the comment docs.

@roman-khimov roman-khimov added this to the v0.99.0 milestone May 11, 2022
@roman-khimov roman-khimov merged commit d158811 into master May 11, 2022
@roman-khimov roman-khimov deleted the fix-gosimple-wrn branch May 11, 2022 06:22
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.

2 participants