diff --git a/WebsiteGenerator/Files/FileSystem.swift b/WebsiteGenerator/Files/FileSystem.swift index 74b1005..42c4b2a 100644 --- a/WebsiteGenerator/Files/FileSystem.swift +++ b/WebsiteGenerator/Files/FileSystem.swift @@ -5,6 +5,7 @@ import AppKit typealias SourceFile = (data: Data, didChange: Bool) typealias SourceTextFile = (content: String, didChange: Bool) +#warning("Skip external files") final class FileSystem { private static let hashesFileName = "hashes.json" @@ -272,10 +273,10 @@ final class FileSystem { let scaledSize = scaledImage.size if abs(scaledImage.size.width - desiredWidth) > 2 { - log.add(warning: "Desired width \(desiredWidth), is \(scaledSize.width))", source: destination) + log.add(warning: "Desired width \(desiredWidth), got \(scaledSize.width)", source: destination) } if abs(destinationSize.height - scaledImage.size.height) > 2 { - log.add(warning: "Desired height \(destinationSize.height), is \(scaledSize.height))", source: destination) + log.add(warning: "Desired height \(destinationSize.height), got \(scaledSize.height)", source: destination) } if let desiredHeight = desiredHeight { let desiredRatio = desiredHeight / desiredWidth