Skip to content

Commit 2c09080

Browse files
committed
Minor update
1 parent 49482eb commit 2c09080

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/PackageLoading/ManifestLoader.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -290,17 +290,17 @@ public final class ManifestLoader: ManifestLoaderProtocol {
290290
// We might have some non-fatal output (warnings/notes) from the compiler even when
291291
// we were able to parse the manifest successfully.
292292
if let compilerOutput = result.compilerOutput {
293-
// FIXME: Isn't the judgement too naive?
293+
// FIXME: Isn't the strategy too naive?
294294
var outputSeverity: Basics.Diagnostic.Severity = .warning
295-
#if os(Windows)
296-
// Filter out link.exe note when creating manifest executable.
295+
#if os(Windows)
296+
// Filter out `LINK` note for creating manifest executable.
297297
if let compiledManifestName = result.compiledManifestFile?.basenameWithoutExt,
298298
!compilerOutput.contains(where: \.isNewline) {
299299
if compilerOutput.contains("\(compiledManifestName).lib") && compilerOutput.contains("\(compiledManifestName).exp") {
300300
outputSeverity = .debug
301301
}
302302
}
303-
#endif
303+
#endif
304304
if !compilerOutput.isEmpty {
305305
let metadata = result.diagnosticFile.map { diagnosticFile -> ObservabilityMetadata in
306306
var metadata = ObservabilityMetadata()

0 commit comments

Comments
 (0)