diff options
| author | XhmikosR <[email protected]> | 2023-03-24 11:32:43 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-24 11:32:43 +0200 |
| commit | e8730484b8f0ad0458da7ff52ab5ebf55d60b693 (patch) | |
| tree | a5483b9eb864e3387f4f8a13ad77a4f76f501c01 | |
| parent | aadfe7edce1a7ad3fa102eccb4d561466de9cb9b (diff) | |
| download | bootstrap-e8730484b8f0ad0458da7ff52ab5ebf55d60b693.tar.xz bootstrap-e8730484b8f0ad0458da7ff52ab5ebf55d60b693.zip | |
vnu-jar.js: add more logging (#38314)
| -rw-r--r-- | build/vnu-jar.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/vnu-jar.js b/build/vnu-jar.js index 77f9ed848..22956cb7e 100644 --- a/build/vnu-jar.js +++ b/build/vnu-jar.js @@ -13,10 +13,13 @@ const vnu = require('vnu-jar') execFile('java', ['-version'], (error, stdout, stderr) => { if (error) { - console.error('Skipping vnu-jar test; Java is missing.') + console.error('Skipping vnu-jar test; Java is probably missing.') + console.error(error) return } + console.log('Running vnu-jar validation...') + const is32bitJava = !/64-Bit/.test(stderr) // vnu-jar accepts multiple ignores joined with a `|`. @@ -48,6 +51,8 @@ execFile('java', ['-version'], (error, stdout, stderr) => { args.splice(0, 0, '-Xss512k') } + console.log(`command used: java ${args.join(' ')}`) + return spawn('java', args, { shell: true, stdio: 'inherit' |
