File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ enum AILog {
25
25
/// being truncated in log messages.
26
26
enum MessageCode : Int {
27
27
// Logging Configuration
28
- case verboseLoggingDisabled = 100
28
+ case verboseLoggingDisabled = 100
29
29
case verboseLoggingEnabled = 101
30
30
31
31
// API Enablement Errors
Original file line number Diff line number Diff line change @@ -180,14 +180,10 @@ s%^./%%
180
180
needs_formatting=false
181
181
for f in $files ; do
182
182
if [[ " ${f: -6} " == ' .swift' ]]; then
183
- if [[ " $system " == ' Darwin' ]]; then
184
- # Match output that says:
185
- # 1/1 files would have been formatted. (with --dryrun)
186
- # 1/1 files formatted. (without --dryrun)
187
- mint run swiftformat " ${swift_options[@]} " " $f " 2>&1 | grep ' ^1/1 files' > /dev/null
188
- else
189
- false
190
- fi
183
+ # Match output that says:
184
+ # 1/1 files would have been formatted. (with --dryrun)
185
+ # 1/1 files formatted. (without --dryrun)
186
+ mint run swiftformat " ${swift_options[@]} " " $f " 2>&1 | grep ' ^1/1 files' > /dev/null
191
187
else
192
188
" $clang_format_bin " " ${clang_options[@]} " " $f " | grep " <replacement " > /dev/null
193
189
fi
You can’t perform that action at this time.
0 commit comments