This commit is contained in:
Bob Sun 2017-06-11 17:51:33 -07:00
parent 545aceb7af
commit 6dbab509e0
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -234,8 +234,7 @@ class PasswordStore {
if fm.fileExists(atPath: storeURL.path) {
try fm.removeItem(at: storeURL)
}
try fm.copyItem(at: tempStoreURL, to: storeURL)
try fm.removeItem(at: tempStoreURL)
try fm.moveItem(at: tempStoreURL, to: storeURL)
storeRepository = try GTRepository(url: storeURL)
} catch {
credential.delete()