]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Ignore the bogus lang vnu.jar error.
authorXhmikosR <xhmikosr@gmail.com>
Wed, 10 Jan 2018 07:19:18 +0000 (09:19 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 11 Jan 2018 08:16:12 +0000 (10:16 +0200)
build/vnu-jar.js

index d1002c0a91033c6dbe0a4100d687762bb00d2b57..991d5c1c09fd3aeae9a918d1fe5dd7664e9d1af7 100644 (file)
@@ -39,7 +39,9 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
     'The “time” input type is not supported in all browsers.*',
     // 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”.'
+    '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.*'
   ].join('|')
 
   const args = [