diff --git a/Plugins/SwiftLintCommand/SwiftLintCommand.swift b/Plugins/SwiftLintCommand/SwiftLintCommand.swift index 85935a24..b91179b1 100644 --- a/Plugins/SwiftLintCommand/SwiftLintCommand.swift +++ b/Plugins/SwiftLintCommand/SwiftLintCommand.swift @@ -35,6 +35,8 @@ internal struct SwiftLintCommand: CommandPlugin { break case .uncaughtSignal: return Diagnostics.error("Uncaught Signal") + @unknown default: + return Diagnostics.error("Unexpected Termination Reason") } guard process.terminationStatus == EXIT_SUCCESS else { return Diagnostics.error("Command Failed") }