Compare commits
No commits in common. "3d361845abc2366e659d612f7d4d9f6d51f1e865" and "31923974a6317664e20886cd03c741dd7483e703" have entirely different histories.
3d361845ab
...
31923974a6
@ -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.popLast()
|
_ = components.dropLast()
|
||||||
} 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[path] = source
|
images.missing[source] = path
|
||||||
}
|
}
|
||||||
|
|
||||||
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