We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b29a60 commit 3274d8dCopy full SHA for 3274d8d
Sources/SnapshottingSwift/Snapshots.swift
@@ -75,6 +75,7 @@ class Snapshots {
75
}
76
77
let fileName = Self.fileName(typeName: typeName, previewId: id)
78
+ try FileManager.default.createDirectory(at: Self.resultsDir, withIntermediateDirectories: true)
79
let file = Self.resultsDir.appendingPathComponent(fileName, isDirectory: false)
80
do {
81
let image = try imageResult.get()
0 commit comments