mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Use cross-platform ProcessInfo instance property
This commit is contained in:
1 parent
284a4ee1ac
commit
4057e3be07
1 file changed
+1
-1
@@ -446,7 +446,7 @@ public struct DatabaseMigrator {
|
||||
//
|
||||
// So let's create a "regular" temporary database:
|
||||
let tmpURL = URL(fileURLWithPath: NSTemporaryDirectory())
|
||||
.appendingPathComponent(ProcessInfo().globallyUniqueString)
|
||||
.appendingPathComponent(ProcessInfo.processInfo.globallyUniqueString)
|
||||
defer {
|
||||
try? FileManager().removeItem(at: tmpURL)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user