You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2016/10/03 21:41:23 UTC
[2/3] android commit: Tweaking the regex
Tweaking the regex
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/eaf9b319
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/eaf9b319
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/eaf9b319
Branch: refs/heads/master
Commit: eaf9b319ca208a4a2d7620bd93611f5361a526d6
Parents: 47abde2
Author: Joe Bowser <bo...@apache.org>
Authored: Wed Sep 21 14:16:33 2016 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Mon Oct 3 14:41:14 2016 -0700
----------------------------------------------------------------------
bin/lib/check_reqs.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/eaf9b319/bin/lib/check_reqs.js
----------------------------------------------------------------------
diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js
index 7790b22..8f1f646 100644
--- a/bin/lib/check_reqs.js
+++ b/bin/lib/check_reqs.js
@@ -154,7 +154,7 @@ module.exports.check_java = function() {
.then(function (output) {
console.log(output);
//Let's check for at least Java 8, and keep it future proof so we can support Java 10
- var match = /javac ((?:1\.)(?:[8-9]\.)(?:\d+))|((?:1\.)(?:[1-9]\d+\.))(?:\d+)/i.exec(output);
+ var match = /javac ((?:1\.)(?:[8-9]\.)(?:\d+))|((?:1\.)(?:[1-9]\d+\.)(?:\d+))/i.exec(output);
return match && match[1];
});
});
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org