Fixed many warnings
This commit is contained in:
@@ -32,7 +32,7 @@ class LibraryImport {
|
||||
|
||||
func backupFiles() -> [String] {
|
||||
do {
|
||||
guard let documentDirectory = try ICloudManager.backup_folder else { return [] }
|
||||
guard let documentDirectory = ICloudManager.backup_folder else { return [] }
|
||||
|
||||
let filesInDocumentsDir = try FileManager.default.contentsOfDirectory(at: documentDirectory, includingPropertiesForKeys: .none, options: [])
|
||||
|
||||
@@ -169,7 +169,7 @@ class LibraryImport {
|
||||
for console in library.consoles {
|
||||
let cdConsole = makeCDConsole(from: console)
|
||||
|
||||
print("CONSOLE: \(cdConsole.name ?? "n/a") with \(console.games.count) games")
|
||||
print("CONSOLE: \(cdConsole.name) with \(console.games.count) games")
|
||||
for uuid in console.games {
|
||||
|
||||
if let game = library.games.first(where: {$0.uuid == uuid}) {
|
||||
|
||||
Reference in New Issue
Block a user