Fix a bug of showing digital entries
This commit is contained in:
parent
767b732e7f
commit
89a2018e89
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ public class Password {
|
||||||
if checkDuplicatedFields(lines: fromYaml) {
|
if checkDuplicatedFields(lines: fromYaml) {
|
||||||
throw AppError.YamlLoadError
|
throw AppError.YamlLoadError
|
||||||
}
|
}
|
||||||
guard let yamlFile = try Yams.load(yaml: fromYaml) as? [String: Any] else {
|
guard let yamlFile = try Yams.load(yaml: fromYaml) as? [String: String] else {
|
||||||
throw AppError.YamlLoadError
|
throw AppError.YamlLoadError
|
||||||
}
|
}
|
||||||
additions.append(contentsOf: yamlFile.map { ($0, String(describing: $1)) })
|
additions.append(contentsOf: yamlFile.map { ($0, String(describing: $1)) })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue