cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vladimir-kotikov <>
Subject [GitHub] cordova-lib pull request #:
Date Mon, 31 Oct 2016 10:30:28 GMT
Github user vladimir-kotikov commented on the pull request:
    I'm not sure but there might be a logical error - we probably should not tell user that
there was an error when there is no such module (i.e. `err.code === 'MODULE_NOT_FOUND'`) and
no deprecation information in `platforms[platform]`, because this just means that platform
does not support this.
    if (err && err.code === 'MODULE_NOT_FOUND') {
        if (platforms[platform].apiCompatibleSince) {
            // print depreaction mesage
        // do not print anything
    } else {
        // print 'error loading ...'
    /cc @imhotep

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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message