Skip to content

Commit 60456c8

Browse files
authored
Update vnu-jar.mjs
1 parent a0ac762 commit 60456c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/vnu-jar.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ execFile('java', ['-version'], (error, _stdout, stderr) => {
1818

1919
console.log('Running vnu-jar validation...')
2020

21-
const is32bitJava = !stderr.includes('64-Bit')
21+
const is32bitJava = !/64-Bit/.test(stderr)
2222

2323
// vnu-jar accepts multiple ignores joined with a `|`.
2424
// Also note that the ignores are string regular expressions.

0 commit comments

Comments
 (0)