From 4a05db9c9a0ea4de1bb3405ce6cc42c36f0c8ab4 Mon Sep 17 00:00:00 2001 From: panxi Date: Fri, 13 Dec 2019 15:20:11 -0500 Subject: [PATCH] fix typo --- MVMCore/MVMCore/Models/Model/ModelRegistry.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/Models/Model/ModelRegistry.swift b/MVMCore/MVMCore/Models/Model/ModelRegistry.swift index df09507..75866fe 100644 --- a/MVMCore/MVMCore/Models/Model/ModelRegistry.swift +++ b/MVMCore/MVMCore/Models/Model/ModelRegistry.swift @@ -49,7 +49,7 @@ extension KeyedDecodingContainer where Key: CodingKey { var meta: KeyedDecodingContainer? do { meta = try self.nestedContainer(keyedBy: C.self, forKey: codingKey) - }git catch { + } catch { return nil } guard let type = try meta?.decodeIfPresent(String.self, forKey: typeCodingKey) else {