From af7e06f8b2d37e586db1f60295f9a381acda19a2 Mon Sep 17 00:00:00 2001
From: nod_ <nod_@598310.no-reply.drupal.org>
Date: Thu, 23 Jan 2025 15:08:52 +0100
Subject: [PATCH] Issue #3499420 by plopesc: CSS Lint job gives unclear output
 when CSS is not properly rebuilt

---
 core/scripts/css/check.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/scripts/css/check.js b/core/scripts/css/check.js
index a2878e90ed88..6bb947033836 100644
--- a/core/scripts/css/check.js
+++ b/core/scripts/css/check.js
@@ -14,7 +14,7 @@ module.exports = (filePath) => {
         return;
       }
       if (code !== data.toString()) {
-        log(`'${filePath}' is not updated.`);
+        log(`'${filePath}' does not match its CSS file. Recompile the CSS with: yarn run build:css`);
         process.exitCode = 1;
       }
     });
-- 
GitLab