diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-03-08 10:50:35 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-03-08 10:51:31 +0300 |
commit | f740396294c42301c1fc1446ad1419529d1531d5 (patch) | |
tree | a71522c2575cf6825123520528d6f2ca2e1c6aba /build | |
parent | bc5f77a14279f1e61a83105d225856e9e077903d (diff) |
Update vnu-jar.js from Bootstrap master branch
Diffstat (limited to 'build')
-rw-r--r-- | build/vnu-jar.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/vnu-jar.js b/build/vnu-jar.js index d343fc7cc..a172d811d 100644 --- a/build/vnu-jar.js +++ b/build/vnu-jar.js @@ -2,8 +2,8 @@ /*! * Script to run vnu-jar if Java is available. - * Copyright 2017-2019 The Bootstrap Authors - * Copyright 2017-2019 Twitter, Inc. + * Copyright 2017-2020 The Bootstrap Authors + * Copyright 2017-2020 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ @@ -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. |