Commit 3f985ff
committed
refactor: use printf directly instead of string concatenation
Replace string concatenation with direct printf calls for building
the profiles list message. This is more maintainable and consistent
with other printf statements in the script.
Benefits:
- Avoids error-prone string building with ANSI escape sequences
- More consistent with the rest of the script
- Cleaner and easier to maintain
- No temporary variables needed
Addresses Copilot AI code review suggestion.1 parent 2cf48cd commit 3f985ff
1 file changed
Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 28 | | |
40 | 29 | | |
41 | 30 | | |
| |||
44 | 33 | | |
45 | 34 | | |
46 | 35 | | |
47 | | - | |
48 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments