Skip to content

Commit 90eae53

Browse files
author
Sheen
committed
STRFRAMEWORK-1674: Code review fix
1 parent 93a0633 commit 90eae53

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Plist2swift/Plist2swift.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private func isKeyAvailableInAllPlists(keyToSearch: String, tupleKey: String, tu
9797
if
9898
let tuples = tuplesForPlists[plistPath],
9999
let dictionary = tuples[tupleKey] as? Dictionary<String, Any> {
100-
100+
101101
if (dictionary.keys.contains(keyToSearch) == false) {
102102
return false
103103
}
@@ -325,8 +325,8 @@ private func generateStructs(name key: String? = nil, tuples: KeyValueTuples, ke
325325
guard
326326
let key = key,
327327
let optionalKeysAndTypes = optionalDictionary[key] else {
328-
print("\(tabs(indentBy: -1))}\n")
329-
return
328+
print("\(tabs(indentBy: -1))}\n")
329+
return
330330
}
331331

332332
let keysAndTypesToAdd = optionalKeysAndTypes.filter { (key: String, type: String) in

0 commit comments

Comments
 (0)