Commit 8a094cc
committed
fix(convert): silence shellcheck warnings and remove duplicate log::step
- Add function-level shellcheck disable=SC2154 on step:update_initrd and
step::prepare_output_and_snapshots (variables set in main() and used in
these step functions)
- Remove unused output_boot_part_num variable
- Remove duplicate log::step from step::prepare_output_and_snapshots and
step::copy_partitions (main() already logs the step)1 parent cf82b38 commit 8a094cc
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
| |||
1041 | 1040 | | |
1042 | 1041 | | |
1043 | 1042 | | |
| 1043 | + | |
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| |||
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
1168 | | - | |
1169 | | - | |
1170 | 1168 | | |
1171 | 1169 | | |
1172 | 1170 | | |
| |||
1197 | 1195 | | |
1198 | 1196 | | |
1199 | 1197 | | |
| 1198 | + | |
1200 | 1199 | | |
1201 | | - | |
1202 | 1200 | | |
1203 | 1201 | | |
1204 | 1202 | | |
| |||
1286 | 1284 | | |
1287 | 1285 | | |
1288 | 1286 | | |
1289 | | - | |
1290 | 1287 | | |
1291 | 1288 | | |
1292 | 1289 | | |
| |||
1299 | 1296 | | |
1300 | 1297 | | |
1301 | 1298 | | |
1302 | | - | |
1303 | 1299 | | |
1304 | 1300 | | |
1305 | 1301 | | |
| |||
0 commit comments