From 91730a644f107ca80a747a6f7f0c173eca5708fa Mon Sep 17 00:00:00 2001
From: XhmikosR <xhmikosr@gmail.com>
Date: Sat, 13 Jan 2018 09:54:37 +0200
Subject: [PATCH] vnu.jar: Ignore all wrong language code warnings.

---
 build/vnu-jar.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index 9a1d9fa12c..111e034099 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -40,8 +40,8 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
     // IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
     // Explicit role="main" is redundant for other modern browsers, but still valid.
     'The “main” role is unnecessary for element “main”.',
-    // For some reason, the validator thinks the dashboard example is written in Danish
-    'This document appears to be written in Danish.*'
+    // Ignore the wrong lanuage code warnings for now; they happen randomly.
+    'This document appears to be written in.*'
   ].join('|')
 
   const args = [
-- 
GitLab