]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
vnu-jar.js: quote vnu path (#33016)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 9 Feb 2021 06:01:44 +0000 (08:01 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Feb 2021 06:01:44 +0000 (08:01 +0200)
Should work now with folders with spaces

build/vnu-jar.js

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