Skip to content

Commit 13be9aa

Browse files
committed
Ignore the bogus lang vnu.jar error.
1 parent 2f9d4d8 commit 13be9aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/vnu-jar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
3939
'The “time” input type is not supported in all browsers.*',
4040
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
4141
// Explicit role="main" is redundant for other modern browsers, but still valid.
42-
'The “main” role is unnecessary for element “main”.'
42+
'The “main” role is unnecessary for element “main”.',
43+
// For some reason, the validator thinks the dashboard example is written in Danish
44+
'This document appears to be written in Danish.*'
4345
].join('|')
4446

4547
const args = [

0 commit comments

Comments
 (0)