]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
vnu.jar: Ignore all wrong language code warnings.
authorXhmikosR <xhmikosr@gmail.com>
Sat, 13 Jan 2018 07:54:37 +0000 (09:54 +0200)
committerMark Otto <markd.otto@gmail.com>
Sun, 8 Apr 2018 21:17:20 +0000 (14:17 -0700)
build/vnu-jar.js

index 9a1d9fa12c95ab94e1afdef0313f5fcd5d2acb61..111e0340991f3c70bca232e3f853775425b0dc26 100644 (file)
@@ -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 = [