mirror of
https://github.com/munki/munki.git
synced 2026-01-08 07:29:52 -06:00
Address a compiler warning (no functional change)
This commit is contained in:
@@ -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)")
|
||||
|
||||
Reference in New Issue
Block a user