We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76fd418 commit 1dd1ec4Copy full SHA for 1dd1ec4
1 file changed
scripts/vnu-jar.js
@@ -11,7 +11,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
11
return
12
}
13
14
- const is32bitJava = !stderr.match(/64-Bit/)
+ const is32bitJava = !/64-Bit/.test(stderr)
15
16
// vnu-jar accepts multiple ignores joined with a `|`.
17
// Also note that the ignores are regular expressions.
0 commit comments