Address a compiler warning (no functional change)

This commit is contained in:
Greg Neagle
2025-10-09 08:22:45 -07:00
parent 8d741b5f96
commit 07befda84a

View File

@@ -120,7 +120,7 @@ struct MakeCatalogs: AsyncParsableCommand {
throw ExitCode.failure
}
} catch {
if let e = error as? ExitCode {
if error is ExitCode {
throw error
}
printStderr("Unexpected error: \(error)")