Skip to content

Commit 1861b8d

Browse files
committed
Reformat sources
1 parent 025b60c commit 1861b8d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Sources/SwiftIfConfig/BuildConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public protocol BuildConfiguration {
216216

217217
/// Determine whether the given name is the active target object file format (e.g., ELF).
218218
///
219-
/// The target object file format can only be queried by an experimental
219+
/// The target object file format can only be queried by an experimental
220220
/// syntax `_objectFileFormat(<name>)`, e.g.,
221221
///
222222
/// ```swift

Sources/SwiftIfConfig/IfConfigDiagnostic.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ extension IfConfigDiagnostic: DiagnosticMessage {
164164
var severity: SwiftDiagnostics.DiagnosticSeverity {
165165
switch self {
166166
case .compilerVersionSecondComponentNotWildcard, .ignoredTrailingComponents,
167-
.likelySimulatorPlatform, .likelyTargetOS, .endiannessDoesNotMatch, .objectFileFormatDoesNotMatch, .macabiIsMacCatalyst:
167+
.likelySimulatorPlatform, .likelyTargetOS, .endiannessDoesNotMatch, .objectFileFormatDoesNotMatch,
168+
.macabiIsMacCatalyst:
168169
return .warning
169170
default: return .error
170171
}

0 commit comments

Comments
 (0)