From 81fa5c38de801e6aa48fe37199bdb9e7b4f20b40 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Fri, 8 Dec 2023 14:49:59 +0100 Subject: [PATCH] Improve warning --- Sources/Generator/Processing/GenerationResultsHandler.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/Generator/Processing/GenerationResultsHandler.swift b/Sources/Generator/Processing/GenerationResultsHandler.swift index 443a31e..b34145d 100644 --- a/Sources/Generator/Processing/GenerationResultsHandler.swift +++ b/Sources/Generator/Processing/GenerationResultsHandler.swift @@ -416,8 +416,7 @@ final class GenerationResultsHandler { guard existingJob.width != job.width else { return } - warning("Different width \(existingJob.width) as \(job.path) (width \(job.width))", - destination: job.destination, path: existingJob.path) + warning("Existing job with width \(existingJob.width) (from \(existingJob.path)), but width \(job.width)", destination: job.destination, path: existingJob.path) } // MARK: Visual output