Fix #90
This commit is contained in:
parent
545aceb7af
commit
6dbab509e0
1 changed files with 1 additions and 2 deletions
|
|
@ -234,8 +234,7 @@ class PasswordStore {
|
||||||
if fm.fileExists(atPath: storeURL.path) {
|
if fm.fileExists(atPath: storeURL.path) {
|
||||||
try fm.removeItem(at: storeURL)
|
try fm.removeItem(at: storeURL)
|
||||||
}
|
}
|
||||||
try fm.copyItem(at: tempStoreURL, to: storeURL)
|
try fm.moveItem(at: tempStoreURL, to: storeURL)
|
||||||
try fm.removeItem(at: tempStoreURL)
|
|
||||||
storeRepository = try GTRepository(url: storeURL)
|
storeRepository = try GTRepository(url: storeURL)
|
||||||
} catch {
|
} catch {
|
||||||
credential.delete()
|
credential.delete()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue