cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ankitjaininfo <>
Subject [GitHub] cordova-android pull request: Fix for `android` not being in PATH ...
Date Mon, 30 Jun 2014 18:32:54 GMT
Github user ankitjaininfo commented on a diff in the pull request:
    --- Diff: bin/lib/check_reqs.js ---
    @@ -81,7 +81,7 @@ module.exports.check_android = function() {
             return Q();
         }, function(stderr) {
    -        if (stderr.match(/command\snot\sfound/)) {
    +        if (stderr.match(/command\snot\sfound/) || stderr.match(/is not recognized as
an internal or external command/)) {
    --- End diff --
    Same kind of error, i found on ubuntu. The way to match regex shall break at may platforms.
I have created a pull request so that it prints and error message for easier debug.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message