Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-01-07 23:07:51 +0300
committerGitHub <noreply@github.com>2020-01-07 23:07:51 +0300
commit9c2b9ac74d4abb5ec8b7864054315de3409d5f3a (patch)
treebdd48def07c5ef9c88c01c15554e3acada526b59 /build
parenta7945d4501377cd42afd49c0e885b0e1923b36cc (diff)
Use regex.test() when we want to check for a Boolean. (#29969)
Diffstat (limited to 'build')
-rw-r--r--build/vnu-jar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/vnu-jar.js b/build/vnu-jar.js
index 53fc58636f..4018873f8d 100644
--- a/build/vnu-jar.js
+++ b/build/vnu-jar.js
@@ -18,7 +18,7 @@ childProcess.exec('java -version', (error, stdout, stderr) => {
return
}
- const is32bitJava = !stderr.match(/64-Bit/)
+ const is32bitJava = !/64-Bit/.test(stderr)
// vnu-jar accepts multiple ignores joined with a `|`.
// Also note that the ignores are regular expressions.