vnu-jar.js: quote vnu path (#33016)

Should work now with folders with spaces
This commit is contained in:
XhmikosR 2021-02-09 08:01:44 +02:00 committed by GitHub
parent 0eaa6c05cf
commit 28aba43ae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
const args = [ const args = [
'-jar', '-jar',
vnu, `"${vnu}"`,
'--asciiquotes', '--asciiquotes',
'--skip-non-html', '--skip-non-html',
// Ignore the language code warnings // Ignore the language code warnings