mirror of
git://jb55.com/damus
synced 2024-09-19 11:43:44 +00:00
update testdata URL path
Closes: https://github.com/damus-io/damus/pull/1767 Reviewed-by: William Casarin <jb55@jb55.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
a80ddc08ec
commit
9e4f0122f5
@ -58,7 +58,7 @@ var test_damus_state: DamusState = ({
|
|||||||
let fileManager = FileManager.default
|
let fileManager = FileManager.default
|
||||||
let temp = fileManager.temporaryDirectory.appendingPathComponent(UUID().uuidString)
|
let temp = fileManager.temporaryDirectory.appendingPathComponent(UUID().uuidString)
|
||||||
try fileManager.createDirectory(at: temp, withIntermediateDirectories: true, attributes: nil)
|
try fileManager.createDirectory(at: temp, withIntermediateDirectories: true, attributes: nil)
|
||||||
tempDir = temp.absoluteString
|
tempDir = temp.path(percentEncoded: false)
|
||||||
} catch {
|
} catch {
|
||||||
tempDir = "."
|
tempDir = "."
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user