Commit 85cd43e
committed
fix: avoid shadowing of 'err' in version parsing for plugin and config packages
Renamed inner error variables in version parsing logic in pkg/plugin/version.go and
pkg/config/version.go from 'err' to 'errParse' to avoid shadowing the outer 'err' variable.
This improves clarity in control flow and prevents potential confusion in error handling.1 parent e3658a6 commit 85cd43e
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments