Commit c37bed1
committed
fix(pkg-get): localize variable "file" properly
The variable `i` is declared but unused in
`_comp_cmd_pkg_get__catalog_file`. The variable `file` is declared
but unused in `_comp_cmd_pkg_get`. Instead, the variable `file` is
used inside `_comp_cmd_pkg_get__catalog_file`. The variable `file`
should be declared inside `_comp_cmd_pkg_get__catalog_file` instead of
the variable `i`.1 parent 88bcdb1 commit c37bed1
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments