vnu.jar: Ignore all wrong language code warnings.

This commit is contained in:
XhmikosR 2018-01-13 09:54:37 +02:00 committed by Mark Otto
parent 7748ae909e
commit 91730a644f
1 changed files with 2 additions and 2 deletions

View 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 = [