@@ -94,7 +94,7 @@ extension SwiftPackageCommand {
94
94
// Next, let's build all of the individual targets or the
95
95
// whole project to get diagnostic files.
96
96
97
- print ( " > Starting the build. " )
97
+ print ( " > Starting the build " )
98
98
if let targets = self . options. targets {
99
99
for target in targets {
100
100
try await buildSystem. build ( subset: . target( target) )
@@ -123,7 +123,7 @@ extension SwiftPackageCommand {
123
123
// If the build suceeded, let's extract all of the diagnostic
124
124
// files from build plan and feed them to the fix-it tool.
125
125
126
- print ( " > Applying fix-its. " )
126
+ print ( " > Applying fix-its " )
127
127
128
128
var summary = SwiftFixIt . Summary ( numberOfFixItsApplied: 0 , numberOfFilesChanged: 0 )
129
129
let fixItDuration = try ContinuousClock ( ) . measure {
@@ -155,17 +155,17 @@ extension SwiftPackageCommand {
155
155
fractionalPart: . init( lengthLimits: 0 ... 3 , roundingRule: . up)
156
156
)
157
157
)
158
- message += " ). "
158
+ message += " ) "
159
159
160
160
print ( message)
161
161
}
162
162
163
163
// Once the fix-its were applied, it's time to update the
164
164
// manifest with newly adopted feature settings.
165
165
166
- print ( " > Updating manifest. " )
166
+ print ( " > Updating manifest " )
167
167
for module in modules. map ( \. module) {
168
- swiftCommandState. observabilityScope. emit ( debug: " Adding feature(s) to ' \( module. name) '. " )
168
+ swiftCommandState. observabilityScope. emit ( debug: " Adding feature(s) to ' \( module. name) ' " )
169
169
try self . updateManifest (
170
170
for: module. name,
171
171
add: features,
@@ -235,7 +235,15 @@ extension SwiftPackageCommand {
235
235
verbose: !self . globalOptions. logging. quiet
236
236
)
237
237
} catch {
238
- swiftCommandState. observabilityScope. emit ( error: " Could not update manifest for ' \( target) ' ( \( error) ). Please enable ' \( try features. map { try $0. swiftSettingDescription } . joined ( separator: " , " ) ) ' features manually. " )
238
+ try swiftCommandState. observabilityScope. emit (
239
+ error: """
240
+ Could not update manifest for ' \( target) ' ( \( error) ). \
241
+ Please enable ' \(
242
+ features. map { try $0. swiftSettingDescription }
243
+ . joined ( separator: " , " )
244
+ ) ' features manually
245
+ """
246
+ )
239
247
}
240
248
}
241
249
0 commit comments