Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
62139125
Commit
62139125
authored
5 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
vnu.jar: Update ignores. (#28817)
Pass the `--no-langdetect` flag instead of ignoring the warning manually.
parent
c6dd1a7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/vnu-jar.js
+3
-3
build/vnu-jar.js
with
3 additions
and
3 deletions
+3
-3
build/vnu-jar.js
+
3
-
3
View file @
62139125
...
@@ -36,9 +36,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
...
@@ -36,9 +36,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
'
The “time” input type is not supported in all browsers.*
'
,
'
The “time” input type is not supported in all browsers.*
'
,
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
// Explicit role="main" is redundant for other modern browsers, but still valid.
// Explicit role="main" is redundant for other modern browsers, but still valid.
'
The “main” role is unnecessary for element “main”.
'
,
'
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.*
'
].
join
(
'
|
'
)
].
join
(
'
|
'
)
const
args
=
[
const
args
=
[
...
@@ -46,6 +44,8 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
...
@@ -46,6 +44,8 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
vnu
,
vnu
,
'
--asciiquotes
'
,
'
--asciiquotes
'
,
'
--skip-non-html
'
,
'
--skip-non-html
'
,
// Ignore the language code warnings
'
--no-langdetect
'
,
'
--Werror
'
,
'
--Werror
'
,
`--filterpattern "
${
ignores
}
"`
,
`--filterpattern "
${
ignores
}
"`
,
'
_gh_pages/
'
,
'
_gh_pages/
'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment