Commit ae32f2f
committed
Fix shell script formatting in generate-logo.sh
Change all function definitions to K&R style (opening brace on same
line) to comply with shfmt formatting requirements in CI.
The CI uses 'shfmt -i 4 -bn -ci -sr' which defaults to K&R style
(no -fn flag), requiring function opening braces on the same line as
the function name.
Fixed functions:
- extract_ascii_art()
- detect_imagemagick()
- detect_font()
- generate_png()
- usage()
- main()1 parent bff6c23 commit ae32f2f
1 file changed
+6
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
67 | | - | |
| 65 | + | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
| |||
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
79 | | - | |
| 76 | + | |
80 | 77 | | |
81 | 78 | | |
82 | 79 | | |
| |||
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
95 | | - | |
96 | | - | |
| 92 | + | |
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
| |||
156 | 152 | | |
157 | 153 | | |
158 | 154 | | |
159 | | - | |
160 | | - | |
| 155 | + | |
161 | 156 | | |
162 | 157 | | |
163 | 158 | | |
| |||
179 | 174 | | |
180 | 175 | | |
181 | 176 | | |
182 | | - | |
183 | | - | |
| 177 | + | |
184 | 178 | | |
185 | 179 | | |
186 | 180 | | |
| |||
0 commit comments