From: XhmikosR Date: Fri, 24 May 2019 10:19:13 +0000 (+0300) Subject: vnu.jar: Update ignores. (#28817) X-Git-Tag: v5.0.0-alpha1~1083 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ce7960c6c08ea08bcaa766c207f3fe410f225c6;p=thirdparty%2Fbootstrap.git vnu.jar: Update ignores. (#28817) Pass the `--no-langdetect` flag instead of ignoring the warning manually. --- diff --git a/build/vnu-jar.js b/build/vnu-jar.js index 7d549cb019..8567ba89d4 100644 --- a/build/vnu-jar.js +++ b/build/vnu-jar.js @@ -36,9 +36,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => { 'The “time” input type is not supported in all browsers.*', // IE11 doesn't recognise
/ 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”.', - // Ignore the wrong lanuage code warnings for now; they happen randomly. - 'This document appears to be written in.*' + 'The “main” role is unnecessary for element “main”.' ].join('|') const args = [ @@ -46,6 +44,8 @@ childProcess.exec('java -version', (error, stdout, stderr) => { vnu, '--asciiquotes', '--skip-non-html', + // Ignore the language code warnings + '--no-langdetect', '--Werror', `--filterpattern "${ignores}"`, '_gh_pages/',