Skip to content

Commit d3cf9b5

Browse files
rlinozsubdan
authored andcommitted
Fixed directory creation of dark svg images
1 parent b503461 commit d3cf9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FigmaExport/Subcommands/ExportImages.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ extension FigmaExportCommand {
150150
}
151151
let darkFiles = asset.dark?.images.map { image -> FileContents in
152152
let fileURL = URL(string: "\(image.name).svg")!
153-
let dest = Destination(directory: tempDirectoryLightURL, file: fileURL)
153+
let dest = Destination(directory: tempDirectoryDarkURL, file: fileURL)
154154
return FileContents(destination: dest, sourceURL: image.url, dark: true)
155155
} ?? []
156156
return lightFiles + darkFiles

0 commit comments

Comments
 (0)