Compare commits
2 Commits
31923974a6
...
3d361845ab
Author | SHA1 | Date | |
---|---|---|---|
|
3d361845ab | ||
|
dbb088fa82 |
@ -56,7 +56,7 @@ extension URL {
|
|||||||
absoluteString.components(separatedBy: "/").forEach { part in
|
absoluteString.components(separatedBy: "/").forEach { part in
|
||||||
if part == ".." {
|
if part == ".." {
|
||||||
if !components.isEmpty {
|
if !components.isEmpty {
|
||||||
_ = components.dropLast()
|
_ = components.popLast()
|
||||||
} else {
|
} else {
|
||||||
components.append("..")
|
components.append("..")
|
||||||
}
|
}
|
||||||
|
@ -338,7 +338,7 @@ final class GenerationResultsHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func markImageAsMissing(path: String, source: String) {
|
private func markImageAsMissing(path: String, source: String) {
|
||||||
images.missing[source] = path
|
images.missing[path] = source
|
||||||
}
|
}
|
||||||
|
|
||||||
private func requireImage(at destination: String, generatedFrom source: String, requiredBy path: String, quality: Float, width: Int, height: Int?, alwaysGenerate: Bool) -> NSSize {
|
private func requireImage(at destination: String, generatedFrom source: String, requiredBy path: String, quality: Float, width: Int, height: Int?, alwaysGenerate: Bool) -> NSSize {
|
||||||
|
Loading…
Reference in New Issue
Block a user