aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-05-24 13:19:13 +0300
committerGitHub <[email protected]>2019-05-24 13:19:13 +0300
commit1ce7960c6c08ea08bcaa766c207f3fe410f225c6 (patch)
treee4af3068041844124fa8245258ea384e1d7bc3ee
parent769c8d824600fbf521e3976cc4a3c6152ed4e8ce (diff)
downloadbootstrap-1ce7960c6c08ea08bcaa766c207f3fe410f225c6.tar.xz
bootstrap-1ce7960c6c08ea08bcaa766c207f3fe410f225c6.zip
vnu.jar: Update ignores. (#28817)
Pass the `--no-langdetect` flag instead of ignoring the warning manually.
-rw-r--r--build/vnu-jar.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index 7d549cb01..8567ba89d 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 <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”.',
- // 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/',