aboutsummaryrefslogtreecommitdiff
path: root/build/vnu-jar.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/vnu-jar.js')
-rw-r--r--build/vnu-jar.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index 90c1a12ab..7a912675e 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -2,8 +2,8 @@
/*!
* Script to run vnu-jar if Java is available.
- * Copyright 2017-2020 The Bootstrap Authors
- * Copyright 2017-2020 Twitter, Inc.
+ * Copyright 2017-2021 The Bootstrap Authors
+ * Copyright 2017-2021 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -42,14 +42,14 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
const args = [
'-jar',
- vnu,
+ `"${vnu}"`,
'--asciiquotes',
'--skip-non-html',
// Ignore the language code warnings
'--no-langdetect',
'--Werror',
`--filterpattern "${ignores}"`,
- '_gh_pages/',
+ '_site/',
'js/tests/'
]