Skip to content

Commit

Permalink
cocoa: move saved database instead of copying
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Jan 24, 2020
1 parent c4380be commit 61354a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cocoa/remember/remember/FolderSync.swift
Expand Up @@ -88,9 +88,9 @@ class FolderSyncer {
try manager.removeItem(at: destURL)
}

try manager.copyItem(at: sourceURL, to: destURL)
try manager.moveItem(at: sourceURL, to: destURL)
} catch {
os_log("failed to copy database to sync folder: %s", type: .error, "\(error)")
os_log("failed to save database to sync folder: %s", type: .error, "\(error)")
}
}

Expand Down

0 comments on commit 61354a4

Please sign in to comment.